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

Document webpack change: add splitChunks.minSizeReduction #5593

Closed
webpack-bot opened this issue Oct 19, 2021 · 0 comments · Fixed by #5614
Closed

Document webpack change: add splitChunks.minSizeReduction #5593

webpack-bot opened this issue Oct 19, 2021 · 0 comments · Fixed by #5614

Comments

@webpack-bot
Copy link

A pull request by @sokra was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#14516


What kind of change does this PR introduce?
feature

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?

  • splitChunks.minSizeReduction specifies the minimum size reduction to the whole compilation needed for creating a new chunk.
    • splitChunks.minSizeReduction and splitChunks.minSize need to be fulfilled for a chunk to be created. You may want to reduce minSize when using minSizeReduction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant