From b2e3b556d6624e8a3c60341b8c6deed35c83e73b Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 15 Sep 2017 14:08:39 +0800 Subject: [PATCH] add : HashedModuleIdsPlugin --- build/webpack.prod.conf.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 7b01b9f..572ed36 100644 --- a/build/webpack.prod.conf.js +++ b/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',