Explorar o código

add : HashedModuleIdsPlugin

Pan %!s(int64=7) %!d(string=hai) anos
pai
achega
b2e3b556d6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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',