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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fix chunk optimization listeners #35

Merged
merged 9 commits into from
Jul 15, 2021

Conversation

legitatx
Copy link
Contributor

Fixes listeners not being fired upon "post-process" asset analysis staging in Webpack 5. Closes #34

Copy link
Member

@rushilsrivastava rushilsrivastava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

@rushilsrivastava rushilsrivastava merged commit cf07d58 into master Jul 15, 2021
@legitatx legitatx deleted the fix/optimize-assets-deprecation branch July 15, 2021 20:25
stage: Compilation.PROCESS_ASSETS_STAGE_ANALYSE,
},
() => {
comp.chunks.forEach((chunk) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why is this needed. Isn't comp.chunks already a Set? According to the Webpack docs it should be...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Listeners no longer being properly applied to chunks in v1.1.7
3 participants