-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwebpack.mix.js
46 lines (44 loc) · 2.03 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
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.sass('resources/scss/dsv.scss','public/css')
.styles([
'node_modules/bootstrap/dist/css/bootstrap.min.css',
'resources/css/su.css',
'resources/css/upload.css',
'resources/css/faq.css',
'resources/css/bar.css',
'resources/css/spinner.css',
'node_modules/bootstrap-select/dist/css/bootstrap-select.min.css',
'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css',
'node_modules/@fortawesome/fontawesome-free/css/all.css',
'node_modules/daterangepicker/daterangepicker.css',
'node_modules/dropzone/dist/dropzone.css'
], 'public/css/all.css')
.combine(['public/css/dsv.css', 'public/css/all.css'], 'public/css/dsvplay.css')
mix.copy('node_modules/@fortawesome/fontawesome-free/webfonts/*', 'public/webfonts/');
mix.scripts([
//'resources/js/app.js',
'node_modules/jquery/dist/jquery.min.js',
//'node_modules/@popperjs/core/dist/umd/popper.min.js',
'node_modules/bootstrap/dist/js/bootstrap.bundle.js',
'resources/js/su.js',
'node_modules/corejs-typeahead/dist/typeahead.bundle.js',
'node_modules/bootstrap-select/dist/js/bootstrap-select.min.js',
'node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'resources/js/spinner.js',
'node_modules/daterangepicker/moment.min.js',
'node_modules/daterangepicker/daterangepicker.js',
'resources/js/download.js',
'node_modules/dropzone/dist/dropzone-min.js'
//'node_modules/echarts/dist/echarts.min.js',
//'node_modules/@chartisan/echarts/dist/chartisan_echarts.js'
], 'public/js/dsvplay.js');