Description
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 entries
Observe 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:
./src/homepage
./src/blog
In this case regexp for catching files in splitChunks will be the same for both entries if entries are
./src/homepage.js
./src/blog.js
and not directories with a nested index.js
file.
./src/homepage/index.js
./src/blog/index.js