markshapiro/webpack-merge-and-include-globally

Webpack 5: Option "chunks" has no effect

Closed this issue · 1 comments

Hi,

since migrating to webpack 5, the plugin always runs, also for entry points that are not defined in chunks.

Would be great if you could could support this feature in webpack 5 as well, @markshapiro

Event better would be some kind of watch mode so it runs only when files actually changed.

Thanks a lot for your effort!

Seems to be a webpack issue rather than a plug-in issue. Only with JS files webpack recognizes the correct entry point (chunk). Other files trigger all entry points.