-
-
Notifications
You must be signed in to change notification settings - Fork 328
/
webpack.mix.js
119 lines (94 loc) · 4.18 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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.
|
*/
/*
|--------------------------------------------------------------------------
| Core
|--------------------------------------------------------------------------
|
*/
mix.scripts([
'node_modules/jquery/dist/jquery.js',
'node_modules/pace-progress/pace.js',
'resources/assets/js/app.js',
], 'public/assets/app/js/app.js').version();
mix.styles([
'node_modules/font-awesome/css/font-awesome.css',
'node_modules/pace-progress/themes/blue/pace-theme-minimal.css',
], 'public/assets/app/css/app.css').version();
mix.copy([
'node_modules/font-awesome/fonts/',
], 'public/assets/app/fonts');
/*
|--------------------------------------------------------------------------
| Auth
|--------------------------------------------------------------------------
|
*/
mix.styles('resources/assets/auth/css/login.css', 'public/assets/auth/css/login.css').version();
mix.styles('resources/assets/auth/css/register.css', 'public/assets/auth/css/register.css').version();
mix.styles('resources/assets/auth/css/passwords.css', 'public/assets/auth/css/passwords.css').version();
mix.styles([
'node_modules/bootstrap/dist/css/bootstrap.css',
'node_modules/gentelella/vendors/animate.css/animate.css',
'node_modules/gentelella/build/css/custom.css',
], 'public/assets/auth/css/auth.css').version();
/*
|--------------------------------------------------------------------------
| Admin
|--------------------------------------------------------------------------
|
*/
mix.scripts([
'node_modules/bootstrap/dist/js/bootstrap.js',
'node_modules/gentelella/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js',
'node_modules/gentelella/build/js/custom.js',
'node_modules/guidechimp/dist/guidechimp.min.js',
'node_modules/guidechimp/dist/plugins/multiPage.js',
'resources/assets/admin/js/admin.js',
], 'public/assets/admin/js/admin.js').version();
mix.styles([
'node_modules/bootstrap/dist/css/bootstrap.css',
'node_modules/gentelella/vendors/animate.css/animate.css',
'node_modules/gentelella/build/css/custom.css',
'node_modules/guidechimp/dist/guidechimp.min.css',
'resources/assets/admin/css/admin.css',
], 'public/assets/admin/css/admin.css').version();
mix.copy([
'node_modules/gentelella/vendors/bootstrap/dist/fonts',
], 'public/assets/admin/fonts');
mix.scripts([
'node_modules/select2/dist/js/select2.full.js',
'resources/assets/admin/js/users/edit.js',
], 'public/assets/admin/js/users/edit.js').version();
mix.styles([
'node_modules/select2/dist/css/select2.css',
], 'public/assets/admin/css/users/edit.css').version();
mix.scripts([
'node_modules/gentelella/vendors/Flot/jquery.flot.js',
'node_modules/gentelella/vendors/Flot/jquery.flot.time.js',
'node_modules/gentelella/vendors/Flot/jquery.flot.pie.js',
'node_modules/gentelella/vendors/Flot/jquery.flot.stack.js',
'node_modules/gentelella/vendors/Flot/jquery.flot.resize.js',
'node_modules/gentelella/vendors/flot.orderbars/js/jquery.flot.orderBars.js',
'node_modules/gentelella/vendors/DateJS/build/date.js',
'node_modules/gentelella/vendors/flot.curvedlines/curvedLines.js',
'node_modules/gentelella/vendors/flot-spline/js/jquery.flot.spline.min.js',
'node_modules/gentelella/production/js/moment/moment.min.js',
'node_modules/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.js',
'node_modules/gentelella/vendors/Chart.js/dist/Chart.js',
'node_modules/jcarousel/dist/jquery.jcarousel.min.js',
'resources/assets/admin/js/dashboard.js',
], 'public/assets/admin/js/dashboard.js').version();
mix.styles([
'node_modules/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.css',
'resources/assets/admin/css/dashboard.css',
], 'public/assets/admin/css/dashboard.css').version();