Commit b2e3b556 authored by Pan's avatar Pan

add : HashedModuleIdsPlugin

parent 02f58e0e
...@@ -68,6 +68,8 @@ var webpackConfig = merge(baseWebpackConfig, { ...@@ -68,6 +68,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