Skip to content

docs(plugins): clarify function provided to splitChunks.name #3118

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 1 commit into from
Jun 14, 2019

Conversation

ryandrew14
Copy link
Contributor

@ryandrew14 ryandrew14 commented Jun 13, 2019

This is a small update to the docs for the SplitChunksPlugin's name option. I found using this function to be really esoteric, and would love to clarify even more than I have here. The problem with that is that the module and chunks arguments provided are esoteric themselves, meaning that documenting the arguments would likely lead to more confusion than help.

The docs I'm sending helped me accomplish my goal with the function, and have helped other people who are confused as well. I believe it to be sufficient for most use cases for this function.

Quick edit: also takes part of #3116. I also just signed the CLA so that should be all set now.

@jsf-clabot
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@netlify
Copy link

netlify bot commented Jun 13, 2019

Preview is ready

Built with commit f9e6efd

https://deploy-preview-3118--webpackjsorg-netlify.netlify.com

@EugeneHlushko
Copy link
Member

Had done some research last night: https://github.com/webpack/webpack.js.org/pull/3120/files

@EugeneHlushko
Copy link
Member

Did not see your PR attempt earlier @ryandrew14

@ryandrew14
Copy link
Contributor Author

How do I re-trigger the CLA check?

@montogeek montogeek closed this Jun 14, 2019
@montogeek montogeek reopened this Jun 14, 2019
@montogeek
Copy link
Member

By reopening the PR

@ryandrew14
Copy link
Contributor Author

I can't merge this myself, could you go for it @EugeneHlushko?

@EugeneHlushko
Copy link
Member

@ryandrew14 this needs an action from @montogeek
Rest assured it will be merged, thanks again

@montogeek
Copy link
Member

Thanks!

@montogeek montogeek merged commit 0b00341 into webpack:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants