Browse Source

add : HashedModuleIdsPlugin

Pan 7 years ago
parent
commit
b2e3b556d6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      build/webpack.prod.conf.js

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

@@ -68,6 +68,8 @@ var webpackConfig = merge(baseWebpackConfig, {
68 68
       // necessary to consistently work with multiple chunks via CommonsChunkPlugin
69 69
       chunksSortMode: 'dependency'
70 70
     }),
71
+    // cache Module Identifiers
72
+    new webpack.HashedModuleIdsPlugin(),
71 73
     // split vendor js into its own file
72 74
     new webpack.optimize.CommonsChunkPlugin({
73 75
       name: 'vendor',