-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.mix.js
57 lines (52 loc) · 2.65 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
let 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([
'bower_components/bootstrap/dist/css/bootstrap.min.css',
'bower_components/font-awesome/css/font-awesome.min.css',
'bower_components/Ionicons/css/ionicons.min.css',
'bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css',
'bower_components/bootstrap-daterangepicker/daterangepicker.css',
'node_modules/mapbox-gl/dist/mapbox-gl.css',
'node_modules/alertifyjs/build/css/alertify.css',
'node_modules/alertifyjs/build/css/themes/bootstrap.css',
'resources/assets/css/font-awesome.min.css',
'resources/assets/css/AdminLTE.min.css',
'resources/assets/css/_all-skins.css',
// 'resources/assets/css/materialize.css',
'bower_components/select2/dist/css/select2.css',
'resources/assets/css/styles.css',
'resources/assets/css/responsive.css',
],
'public/css/app.css')
.scripts([
'node_modules/supercluster/build/supercluster.js',
'bower_components/jquery/dist/jquery.min.js',
'resources/assets/graph-js/vis.js',
'resources/assets/graph-js/materialize.min.js',
'resources/assets/graph-js/init.js',
'bower_components/bootstrap/dist/js/bootstrap.min.js',
'bower_components/jquery-ui/jquery-ui.min.js',
'bower_components/jquery-sparkline/dist/jquery.sparkline.min.js',
'bower_components/jquery-knob/dist/jquery.knob.min.js',
'bower_components/moment/min/moment.min.js',
'bower_components/bootstrap-daterangepicker/daterangepicker.js',
'bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'bower_components/jquery-slimscroll/jquery.slimscroll.min.js',
'bower_components/fastclick/lib/fastclick.js',
'node_modules/alertifyjs/build/alertify.js'
],
'public/js/vendor.js')
.js('resources/assets/js/app.js', 'public/js')
// .copyDirectory('resources/assets/fonts', 'public/fonts')
// .copyDirectory('resources/assets/images', 'public/images')
// .copy('resources/assets/graph-js/graph-1.js', 'public/js/graph-1.js');