react-starter-kit
react-starter-kit copied to clipboard
CommonsChunkPlugin 提取manifest
new webpack.optimize.CommonsChunkPlugin({ names: ['vendor', 'manifest'], }),
是否考虑加入公共模块hash字典模块,否则每次打包都会改变公共模块的hash值,导致缓存失效问题!
不会改变公共模块 只有js文件内容变化了 hash值才会变