-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.mix.js
More file actions
36 lines (34 loc) · 1.71 KB
/
webpack.mix.js
File metadata and controls
36 lines (34 loc) · 1.71 KB
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
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.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');*/
mix.styles([
'node_modules/bootstrap/dist/css/bootstrap.min.css',
'node_modules/bootstrap-select/dist/css/bootstrap-select.min.css',
'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css',
'node_modules/bootstrap-multiselect/dist/css/bootstrap-multiselect.min.css',
'node_modules/medium-editor/dist/css/medium-editor.min.css',
//'node_modules/@fortawesome/fontawesome-free/css/all.css',
'node_modules/daterangepicker/daterangepicker.css'
], 'public/css/resultpress.css');
mix.copy('node_modules/@fortawesome/fontawesome-free/webfonts/*', 'public/webfonts/');
mix.scripts([
'node_modules/jquery/dist/jquery.min.js',
//'node_modules/@popperjs/core/dist/umd/popper.min.js',
'node_modules/bootstrap/dist/js/bootstrap.bundle.js',
'node_modules/bootstrap-select/dist/js/bootstrap-select.min.js',
'node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'node_modules/bootstrap-multiselect/dist/js/bootstrap-multiselect.min.js',
'node_modules/medium-editor/dist/js/medium-editor.min.js',
'node_modules/daterangepicker/moment.min.js',
'node_modules/daterangepicker/daterangepicker.js',
], 'public/js/resultpress.js');