Answer the question
In order to leave comments, you need to log in
Is it possible for some files to exclude the template which is in chunkFilename?
Hello, please tell me, I am creating a site on laravel, laravel uses laravel-mix
Laravel Mix is a clean and flexible API for defining Webpack build instructions for your Laravel application
const mix = require('laravel-mix');
require('laravel-mix-merge-manifest');
mix.js('resources/js/admin/app.js', 'public/js').extract(['vue','vuex','axios']).mergeManifest();
if(mix.inProduction()) {
mix.webpackConfig({
output: {chunkFilename: '[name].[chunkhash].js'}
});
mix.version();
}
/js/app.dace223aee5a39cba6d7.js
/js/vendor.a7708b6ab4541f5eaba0.js
chunkFilename: '[name].[chunkhash].js'
? Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question