-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
docs(plugins): clarify function provided to splitChunks.name #3118
Conversation
|
Preview is ready Built with commit f9e6efd https://deploy-preview-3118--webpackjsorg-netlify.netlify.com |
Had done some research last night: https://github.com/webpack/webpack.js.org/pull/3120/files |
Did not see your PR attempt earlier @ryandrew14 |
How do I re-trigger the CLA check? |
By reopening the PR |
I can't merge this myself, could you go for it @EugeneHlushko? |
@ryandrew14 this needs an action from @montogeek |
Thanks! |
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
andchunks
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.