Przeglądaj źródła

add : HashedModuleIdsPlugin

Pan 7 lat temu
rodzic
commit
b2e3b556d6
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      build/webpack.prod.conf.js

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

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