Skip to content
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]: support stats.compilation.chunkGroups #6790

Open
mxmason opened this issue Jun 13, 2024 · 0 comments
Open

[Feature]: support stats.compilation.chunkGroups #6790

mxmason opened this issue Jun 13, 2024 · 0 comments
Labels
feat New feature or request pending triage The issue/PR is currently untouched.

Comments

@mxmason
Copy link

mxmason commented Jun 13, 2024

What problem does this feature solve?

Plugins that rely on knowledge of chunkGroups do not work correctly. webpack-bundle-tracker, which my team relies on to build a Django app with Webpack, is one such broken plugin. Here's the line of source code where webpack-bundle-tracker references chunkGroups.

What does the proposed API of configuration look like?

Similar to the API in Webpack, which makes plugins like this possible.

Edit: I apologize if this feature is a duplicate of #5641. I just found that one, but I'm not sure it's talking about the same thing I am. I'm also not sure I understand the suggested workaround to use stats, since the stats object appears to not have the data I need when I log it. Additionally, I need the ability to read these chunks while running a dev server as well as in prod.

@mxmason mxmason added feat New feature or request pending triage The issue/PR is currently untouched. labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

1 participant