Skip to content

Document webpack change: allow to move modules to parent chunks #3998

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

Closed
webpack-bot opened this issue Sep 25, 2020 · 1 comment · Fixed by #6104
Closed

Document webpack change: allow to move modules to parent chunks #3998

webpack-bot opened this issue Sep 25, 2020 · 1 comment · Fixed by #6104

Comments

@webpack-bot
Copy link

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

See pull request: webpack/webpack#11529


What kind of change does this PR introduce?
bugfix

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.cacheGroups.*.name can be used to move modules into a chunk that is a parent of the source chunk. Examples: name: "runtime" to move modules into the runtime chunk, name: "entry-name" to move modules into the entry chunk. On demand named chunks can also be used, but one have to be careful that the selected modules are only used below this chunk.

@rahul3v
Copy link
Contributor

rahul3v commented Sep 25, 2020

I believe it's name: "entry-name" to move modules into the entry-name chunk, right! , like inside entry-name.js file,

This is my first time and i believe I can document this one

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.

2 participants