mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:41:07 +03:30
32 lines
920 B
JavaScript
Vendored
32 lines
920 B
JavaScript
Vendored
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.webpackConfig({
|
|
resolve: {
|
|
extensions: ['.js', '.vue', '.json'],
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'resources/js/vue'),
|
|
'@show': path.resolve(__dirname, 'resources/js/show'),
|
|
},
|
|
},
|
|
output: {
|
|
chunkFilename: 'js/vue/chunks/[name].[chunkhash].js',
|
|
}
|
|
});
|
|
|
|
mix.js('resources/js/vue/main.js', 'public/js/vue/app.js')
|
|
.js('resources/js/show/main.js', 'public/js/show/app.js');
|
|
|
|
|
|
mix.version();
|