[2fc88ec] | 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 |
|
---|
[194a359] | 14 | mix.scripts([
|
---|
| 15 | 'resources/assets/js/app.min.js',
|
---|
| 16 | 'resources/assets/js/custom.js',
|
---|
[24a616f] | 17 | 'resources/assets/js/jquery-3.6.0.min.js',
|
---|
[120759b] | 18 | 'resources/assets/js/user-list.js',
|
---|
[194a359] | 19 | 'resources/assets/js/Toast.min.js',
|
---|
[169fcc8] | 20 | 'resources/assets/js/datatables.min.js',
|
---|
[194a359] | 21 | ], 'public/assets/js/app.js')
|
---|
[7304c7f] | 22 |
|
---|
| 23 | mix.styles([
|
---|
[194a359] | 24 | 'resources/assets/css/app.css',
|
---|
| 25 | 'resources/assets/css/app.min.css',
|
---|
| 26 | 'resources/assets/css/Toast.min.css',
|
---|
[169fcc8] | 27 | 'resources/assets/css/custom.css',
|
---|
| 28 | 'resources/assets/css/datatables.min.css',
|
---|
[7304c7f] | 29 | ], 'public/assets/css/app.min.css');
|
---|
| 30 |
|
---|
| 31 | mix.copy(['resources/assets/media/images'
|
---|
| 32 | ], 'public/assets/media/images');
|
---|
[24a616f] | 33 |
|
---|