Parcourir la Source

add : HashedModuleIdsPlugin

Pan il y a 8 ans
Parent
commit
b2e3b556d6
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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',