Commit 17ada3c6 authored by Pan's avatar Pan

add HashedModuleIdsPlugin

parent 391e7703
...@@ -72,6 +72,8 @@ var webpackConfig = merge(baseWebpackConfig, { ...@@ -72,6 +72,8 @@ var webpackConfig = merge(baseWebpackConfig, {
// necessary to consistently work with multiple chunks via CommonsChunkPlugin // necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency' chunksSortMode: 'dependency'
}), }),
// cache Module Identifiers
new webpack.HashedModuleIdsPlugin(),
// split vendor js into its own file // split vendor js into its own file
new webpack.optimize.CommonsChunkPlugin({ new webpack.optimize.CommonsChunkPlugin({
name: 'vendor', name: 'vendor',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment