set allChunks:false
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user