1 | const mix = require('laravel-mix');
|
---|
2 |
|
---|
3 | /*
|
---|
4 | |--------------------------------------------------------------------------
|
---|
5 | | Mix Asset Management
|
---|
6 | |--------------------------------------------------------------------------
|
---|
7 | |
|
---|
8 | | Mix provides a clean, fluent API for defining some Webpack build steps
|
---|
9 | | for your Laravel applications. By default, we are compiling the CSS
|
---|
10 | | file for the application as well as bundling up all the JS files.
|
---|
11 | |
|
---|
12 | */
|
---|
13 |
|
---|
14 | mix.scripts([
|
---|
15 | 'resources/assets/js/app.js',
|
---|
16 | 'resources/assets/js/app.min.js',
|
---|
17 | 'resources/assets/js/custom.js',
|
---|
18 | 'resources/assets/js/jquery-3.6.0.min.js',
|
---|
19 | //'resources/assets/bootstrap/js/*.js',
|
---|
20 | //'resources/assets/js/examples/pages/*.js',
|
---|
21 | //'resources/assets/js/examples/*.js',
|
---|
22 | //'resources/assets/js/examples/charts/*.js',
|
---|
23 | 'resources/assets/js/Toast.min.js',
|
---|
24 | ], 'public/assets/js/app.js')
|
---|
25 |
|
---|
26 | mix.styles([
|
---|
27 | 'resources/assets/css/app.css',
|
---|
28 | 'resources/assets/css/app.min.css',
|
---|
29 | 'resources/assets/bootstrap/css/*.css',
|
---|
30 | 'resources/assets/css/Toast.min.css',
|
---|
31 | 'resources/assets/css/custom.css'
|
---|
32 | ], 'public/assets/css/app.min.css');
|
---|
33 |
|
---|
34 | mix.copy(['resources/assets/media/images'
|
---|
35 | ], 'public/assets/media/images');
|
---|
36 |
|
---|