Przeglądaj źródła

clean webpack.prod.js

Yuki Takei 8 lat temu
rodzic
commit
7f5bb40312
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      config/webpack.prod.js

+ 1 - 2
config/webpack.prod.js

@@ -22,7 +22,7 @@ module.exports = require('./webpack.common')({
   devtool: undefined,
   output: {
     filename: '[name].[chunkhash].bundle.js',
-    chunkFilename: '[name].[id].[chunkhash].chunk.js'
+    chunkFilename: '[name].[chunkhash].chunk.js'
   },
   module: {
     rules: [
@@ -47,7 +47,6 @@ module.exports = require('./webpack.common')({
 
     new MiniCssExtractPlugin({
       filename: '[name].[hash].css',
-      chunkFilename: '[id].[hash].css'
     }),
 
     new BundleAnalyzerPlugin({