Skip to content
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

Fix #6644 #6645

Merged
merged 2 commits into from Mar 3, 2018
Merged

Fix #6644 #6645

merged 2 commits into from Mar 3, 2018

Conversation

zacanger
Copy link
Contributor

@zacanger zacanger commented Mar 2, 2018

What kind of change does this PR introduce?

Fixes #6644 by adding a default parameter.

Did you add tests for your changes?

Yes.

If relevant, link to documentation update:

https://github.com/webpack/webpack.js.org/pull/1863/files#diff-e08b426c523b9305ce571576d5b640d0R19

Summary

See #6644

Does this PR introduce a breaking change?

No.

Other information

@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

const SplitChunksPlugin = require("../../../../lib/optimize/SplitChunksPlugin");

module.exports = {
entry: {
Copy link
Member

Choose a reason for hiding this comment

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

Please set optimization.splitChunks=false

@webpack-bot
Copy link
Contributor

@zacanger Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ooflorent Please review the new changes.

@sokra sokra merged commit 00f70fc into webpack:master Mar 3, 2018
@sokra
Copy link
Member

sokra commented Mar 3, 2018

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SplitChunksPlugin blows up without options object
4 participants