-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathwebpack.mix.js
30 lines (25 loc) · 1.15 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
let mix = require('laravel-mix');
theme = [
'resources/assets/js/theme/jquery.min.js',
'resources/assets/js/theme/jquery-ui.min.js',
'resources/assets/js/theme/bootstrap.min.js',
'resources/assets/js/theme/jquery.validate.min.js',
'resources/assets/js/theme/moment.min.js',
'resources/assets/js/theme/bootstrap-datetimepicker.js',
'resources/assets/js/theme/bootstrap-selectpicker.js',
'resources/assets/js/theme/bootstrap-checkbox-radio-switch-tags.js',
'resources/assets/js/theme/chartist.min.js',
'resources/assets/js/theme/bootstrap-notify.js',
'resources/assets/js/theme/sweetalert2.js',
'resources/assets/js/theme/jquery-jvectormap.js',
'resources/assets/js/theme/jquery.bootstrap.wizard.min.js',
'resources/assets/js/theme/bootstrap-table.js',
'resources/assets/js/theme/fullcalendar.min.js',
'resources/assets/js/theme/light-bootstrap-dashboard.js',
];
mix
.sass('resources/assets/sass/theme/theme.scss', 'public/css')
.scripts(theme, 'public/js/theme.js')
.sass('resources/assets/sass/dashboard.scss', 'public/css')
.js('resources/assets/js/dashboard.js', 'public/js')
.version();