From 17ada3c65e9c80928c2b3a6e53477ec2075e37ae Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 4 Aug 2017 16:04:14 +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 112331d2..6060eadc 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -72,6 +72,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',