Skip to content

Commit

Permalink
docs: HashedModuleIdsPlugin comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ICELI committed Aug 25, 2017
1 parent 5f63e28 commit 58e2130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/webpack-production.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = {
}),
// 根据模块依赖次数进行排序
new webpack.optimize.OccurenceOrderPlugin(),
// 将模块Id转为hash值,解决模块id为数字时不稳定的问题,对应开发环境HashedModuleIdsPlugin
// 将模块Id转为hash值,解决模块id为数字时不稳定的问题,对应开发环境NamedModulesPlugin的作用
new HashedModuleIdsPlugin(),
// 将webpack runtime内嵌至index.html,需要和HtmlWebpackPlugin配合使用
// 需在模板文件加上占位符 <%=htmlWebpackPlugin.files.webpackManifest%>
Expand Down

0 comments on commit 58e2130

Please sign in to comment.