Skip to content

Commit

Permalink
set allChunks:false
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Dec 19, 2017
1 parent 8df9d9a commit b15cdea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/webpack.prod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ const webpackConfig = merge(baseWebpackConfig, {
filename: utils.assetsPath('css/[name].[contenthash].css'),
// 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.
// 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
allChunks: true,
allChunks: false,
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
Expand Down

0 comments on commit b15cdea

Please sign in to comment.