-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathwebpack.mix.js
67 lines (59 loc) · 3.37 KB
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix
.styles([
'resources/views/admin/assets/plugins/fontawesome-free/css/all.min.css',
'resources/views/admin/assets/plugins/ionicons/ionicons.min.css',
'resources/views/admin/assets/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css',
'resources/views/admin/assets/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css',
'resources/views/admin/assets/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css',
'resources/views/admin/assets/plugins/datatables-responsive/css/responsive.bootstrap4.min.css',
'resources/views/admin/assets/dist/css/adminlte.min.css',
'resources/views/admin/assets/plugins/overlayScrollbars/css/OverlayScrollbars.min.css'
], 'public/dash/assets/css/app.css')
.scripts([
'resources/views/admin/assets/plugins/jquery/jquery.min.js',
'resources/views/admin/assets/plugins/jquery-ui/jquery-ui.min.js',
'resources/views/admin/assets/dist/js/conflict.js',
'resources/views/admin/assets/plugins/bootstrap/js/bootstrap.bundle.min.js',
'resources/views/admin/assets/plugins/sweetalert2/sweetalert2.all.min.js',
'resources/views/admin/assets/plugins/datatables/jquery.dataTables.min.js',
'resources/views/admin/assets/plugins/datatables-bs4/js/dataTables.bootstrap4.min.js',
'resources/views/admin/assets/plugins/datatables-responsive/js/dataTables.responsive.min.js',
'resources/views/admin/assets/plugins/datatables-responsive/js/responsive.bootstrap4.min.js',
'resources/views/admin/assets/plugins/moment/moment.min.js',
'resources/views/admin/assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js',
'resources/views/admin/assets/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js',
'resources/views/admin/assets/plugins/inputmask2/inputmask.js',
'resources/views/admin/assets/plugins/inputmask2/init-inputmask.js',
'resources/views/admin/assets/dist/js/adminlte.js',
'resources/views/admin/assets/dist/js/scripts.js',
], 'public/dash/assets/js/app.js')
.styles([
'resources/views/site/assets/css/bootstrap.css',
'resources/views/site/assets/js/datatable/datatable.css',
], 'public/site/assets/css/app.css')
.scripts([
'resources/views/site/assets/js/jquery.js',
'resources/views/site/assets/js/popper.js',
'resources/views/site/assets/js/bootstrap.js',
'resources/views/site/assets/js/datatable/jquery.datatable.js',
'resources/views/site/assets/js/datatable/bootstrap.datatable.js',
'resources/views/site/assets/js/inputmask2/inputmask.js',
'resources/views/site/assets/js/inputmask2/init-inputmask.js',
], 'public/site/assets/js/app.js')
.copyDirectory('resources/views/admin/assets/plugins/fontawesome-free/webfonts', 'public/dash/assets/webfonts')
.options({
processCssUrls: false
})
.version()
;