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
       // necessary to consistently work with multiple chunks via CommonsChunkPlugin
68
       // necessary to consistently work with multiple chunks via CommonsChunkPlugin
69
       chunksSortMode: 'dependency'
69
       chunksSortMode: 'dependency'
70
     }),
70
     }),
71
+    // cache Module Identifiers
72
+    new webpack.HashedModuleIdsPlugin(),
71
     // split vendor js into its own file
73
     // split vendor js into its own file
72
     new webpack.optimize.CommonsChunkPlugin({
74
     new webpack.optimize.CommonsChunkPlugin({
73
       name: 'vendor',
75
       name: 'vendor',