Pan 7 роки тому
батько
коміт
b15cdeaa1e
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      build/webpack.prod.conf.js

+ 1 - 2
build/webpack.prod.conf.js

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