提交 34939c89 编写于 作者: T Tim Zallmann

Merge branch '32835-stop-using-webpack-hashedmoduleidsplugin-in-production' into 'master'

Resolve "Stop using `webpack.HashedModuleIdsPlugin` in production."

See merge request !11670
......@@ -126,10 +126,8 @@ var config = {
jQuery: 'jquery',
}),
// use deterministic module ids in all environments
IS_PRODUCTION ?
new webpack.HashedModuleIdsPlugin() :
new webpack.NamedModulesPlugin(),
// use deterministic module ids
new webpack.NamedModulesPlugin(),
// create cacheable common library bundle for all vue chunks
new webpack.optimize.CommonsChunkPlugin({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册