-
Notifications
You must be signed in to change notification settings - Fork 3
/
webpack.mix.js
61 lines (54 loc) · 2.4 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
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.scripts([
'node_modules/jquery/dist/jquery.js',
'node_modules/pace-progress/pace.js',
'node_modules/bootstrap/dist/js/bootstrap.js',
'node_modules/gentelella/build/js/custom.js',
'resources/assets/js/default.js'
], 'public/assets/js/default.js').version();
mix.styles([
'node_modules/font-awesome/css/font-awesome.css',
'node_modules/pace-progress/themes/blue/pace-theme-minimal.css',
'node_modules/bootstrap/dist/css/bootstrap.css',
'node_modules/gentelella/vendors/animate.css/animate.css',
'node_modules/gentelella/build/css/custom.css',
'resources/assets/css/default.css'
], 'public/assets/css/default.css').version();
mix.copy([
'node_modules/font-awesome/fonts/',
'node_modules/gentelella/vendors/bootstrap/dist/fonts'
], 'public/assets/fonts');
mix.scripts([
'node_modules/syntaxhighlighter/dist/syntaxhighlighter.js',
'node_modules/syntaxhighlighter/src/js/shBrushXml.js',
'node_modules/footable-v3/compiled/footable.min.js',
'node_modules/bootstrap-toggle/js/bootstrap2-toggle.min.js',
'resources/assets/js/try_and_buy.js'
], 'public/assets/js/try_and_buy.js').version();
mix.styles([
'node_modules/footable-v3/compiled/footable.bootstrap.min.css',
'node_modules/syntaxhighlighter/dist/theme.css',
'node_modules/bootstrap-toggle/css/bootstrap2-toggle.min.css'
], 'public/assets/css/try_and_buy.css').version();
mix.scripts([
'node_modules/syntaxhighlighter/dist/syntaxhighlighter.js',
'node_modules/syntaxhighlighter/src/js/shBrushXml.js',
'node_modules/footable-v3/compiled/footable.min.js',
'node_modules/bootstrap-toggle/js/bootstrap2-toggle.min.js',
'resources/assets/js/subscription.js'
], 'public/assets/js/subscription.js').version();
mix.styles([
'node_modules/footable-v3/compiled/footable.bootstrap.min.css',
'node_modules/syntaxhighlighter/dist/theme.css',
'node_modules/bootstrap-toggle/css/bootstrap2-toggle.min.css'
], 'public/assets/css/subscription.css').version();