Skip to content

updated /content/plugins/module-concatenation-plugin.md(#377) #379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Oct 18, 2017
Merged
Prev Previous commit
Update module-concatenation-plugin.md
  • Loading branch information
aladdin-add authored Oct 18, 2017
commit 02d2b7f26890ab2037d1f58ca66bb26a269d4d02
2 changes: 1 addition & 1 deletion src/content/plugins/module-concatenation-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function tryToAdd(group, module) {

### 优化绑定失败的调试[Debugging Optimization Bailouts]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里行数不对应,少了一个空行


当我们使用 webpack CLI 时,参数 `--display-optimization-bailout` 将显示绑定失败的原因。在 webpack 配置里,只需将以下内容添加到 stats 对象中:
当我们使用 webpack CLI 时,加上参数 `--display-optimization-bailout` 将显示绑定失败的原因。在 webpack 配置里,只需将以下内容添加到 stats 对象中:

```js
{
Expand Down