Explorar el Código

add : HashedModuleIdsPlugin

Pan %!s(int64=7) %!d(string=hace) años
padre
commit
b2e3b556d6
Se han modificado 1 ficheros con 2 adiciones y 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, {
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',