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/js/user-list.js',
|
---|
20 | 'resources/assets/js/Toast.min.js',
|
---|
21 | ], 'public/assets/js/app.js')
|
---|
22 |
|
---|
23 | mix.styles([
|
---|
24 | 'resources/assets/css/app.css',
|
---|
25 | 'resources/assets/css/app.min.css',
|
---|
26 | 'resources/assets/css/Toast.min.css',
|
---|
27 | 'resources/assets/css/custom.css'
|
---|
28 | ], 'public/assets/css/app.min.css');
|
---|
29 |
|
---|
30 | mix.copy(['resources/assets/media/images'
|
---|
31 | ], 'public/assets/media/images');
|
---|
32 |
|
---|