-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
[Feature]: Init command's splitChunks caching group generation per provided entry #404
Comments
We're ready to proceed with this one now |
Is this still a relevant feature? If so, I'd be happy to take it on now with a bit of clarification. Is the intention to define a |
yes, @EugeneHlushko could you elaborate some more? 📦 It should be default when initializing a new project with multiple entries, yes. |
Thanks for the info, I'll pick this up. Feel free to assign it to me to keep it on my radar. |
Yeah its pretty much relevant. As @ev1stensberg we think that it should be default for multiple entries. The catch here is described in the issue description, if entries are .js files in one dir, everything will fall under the same caching group, needs a thought. |
@dhruvdutt maybe you could pick this one up? |
Sure! Would try to finish over the weekend. |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
bump |
Circling back on this; @evenstensberg and @ematipico, is this still relevant? I have bandwidth to take this on now if so. |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
it doesnt output caching group per entry provided
If the current behavior is a bug, please provide the steps to reproduce.
after #356 is merged
use
webpack-cli init
and provide multiple entriesObserve splitChunks plugin declaration doesnt add caching group per entry
What is the expected behavior?
splitChunks caching groups added per entry
If this is a feature request, what is motivation or use case for changing the behavior?
TBD @ev1stensberg
Please paste the results of
webpack-cli info
here, and mention other relevant information such as programming language.NOTE
When trying to initally set up regexp generation i bumped into a case where user might provide two entries from within same directory when doing simple config generations e.g. for entries user types:
homepage,blog
and for entry paths:
In this case regexp for catching files in splitChunks will be the same for both entries if entries are
and not directories with a nested
index.js
file.The text was updated successfully, but these errors were encountered: