set allChunks:false
This commit is contained in:
parent
8df9d9a327
commit
b15cdeaa1e
|
@ -50,9 +50,8 @@ const webpackConfig = merge(baseWebpackConfig, {
|
||||||
filename: utils.assetsPath('css/[name].[contenthash].css'),
|
filename: utils.assetsPath('css/[name].[contenthash].css'),
|
||||||
// Setting the following option to `false` will not extract CSS from codesplit chunks.
|
// Setting the following option to `false` will not extract CSS from codesplit chunks.
|
||||||
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
|
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
|
||||||
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
|
|
||||||
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
|
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
|
||||||
allChunks: true,
|
allChunks: false,
|
||||||
}),
|
}),
|
||||||
// Compress extracted CSS. We are using this plugin so that possible
|
// Compress extracted CSS. We are using this plugin so that possible
|
||||||
// duplicated CSS from different components can be deduped.
|
// duplicated CSS from different components can be deduped.
|
||||||
|
|
Loading…
Reference in New Issue