-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
webpack.mix.js
69 lines (66 loc) · 3.7 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
68
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
.copyDirectory('node_modules/tinymce/themes/', 'public/assets/js/themes/')
.copyDirectory('node_modules/tinymce/skins/', 'public/assets/js/skins/')
.copyDirectory('node_modules/tinymce/plugins/', 'public/assets/js/plugins/')
.copyDirectory('node_modules/tinymce/icons/', 'public/assets/js/icons/')
.copyDirectory('vendor/bhuvidya/laravel-countries/flags/', 'public/assets/images/flags/')
.copy('node_modules/icheck/skins/flat/green.png', 'public/assets/css/green.png')
.copy('node_modules/icheck/skins/flat/[email protected]', 'public/assets/css/[email protected]')
.styles(
[
'node_modules/bootstrap/dist/css/bootstrap.min.css',
'node_modules/bootstrap/dist/css/bootstrap-reboot.css',
'node_modules/icheck/skins/flat/green.css',
'node_modules/datatables/media/css/jquery.dataTables.min.css',
'node_modules/animate.css/animate.min.css',
'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.min.css',
'node_modules/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css',
'node_modules/@fortawesome/fontawesome-free/css/svg-with-js.min.css',
'node_modules/@fancyapps/fancybox/dist/jquery.fancybox.min.css',
'node_modules/pnotify/dist/PNotifyBrightTheme.css',
'node_modules/flexboxgrid2/flexboxgrid2.min.css',
'resources/assets/css/custom.css'
], 'public/assets/css/all-css.css')
.scripts(
[
'node_modules/jquery/dist/jquery.min.js',
'node_modules/jquery-migrate/dist/jquery-migrate.min.js',
'node_modules/bootstrap/dist/js/bootstrap.bundle.js',
'node_modules/@fortawesome/fontawesome-free/js/all.min.js',
'node_modules/@fortawesome/fontawesome-free/js/v4-shims.min.js',
'node_modules/@fancyapps/fancybox/dist/jquery.fancybox.min.js',
'node_modules/datatables/media/js/jquery.dataTables.min.js',
'node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'node_modules/autosize/dist/autosize.min.js',
'node_modules/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js',
'node_modules/bootstrap-progressbar/bootstrap-progressbar.min.js',
'node_modules/pnotify/dist/umd/PNotify.js',
'node_modules/pnotify/dist/umd/PNotifyAnimate.js',
'node_modules/pnotify/dist/umd/PNotifyButtons.js',
'node_modules/pnotify/dist/umd/PNotifyCallbacks.js',
'node_modules/pnotify/dist/umd/PNotifyConfirm.js',
'node_modules/pnotify/dist/umd/PNotifyDesktop.js',
'node_modules/pnotify/dist/umd/PNotifyNonBlock.js',
'node_modules/pnotify/dist/umd/PNotifyMobile.js',
'node_modules/pnotify/dist/umd/PNotifyHistory.js',
'node_modules/pnotify/dist/umd/PNotifyReference.js',
'node_modules/tinymce/tinymce.min.js',
'node_modules/jquery-colorbox/jquery.colorbox-min.js',
'node_modules/pace-js/pace.min.js',
'node_modules/icheck/icheck.min.js',
'resources/assets/js/utils-admin.js',
'resources/assets/js/custom.js',
'resources/assets/js/functions.js'
]
, 'public/assets/js/all-js.js');