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

Core: Fix webpack5 compatibility check for ProgressPlugin #13239

Merged
merged 2 commits into from Nov 24, 2020

Conversation

FabianSellmann
Copy link
Contributor

@FabianSellmann FabianSellmann commented Nov 24, 2020

Issue:
Webpack 5 ProgressPlugin only supplies 2 arguments to the handler. See https://github.com/webpack/webpack/blob/6394e2d1d87e82871e16945822b14fbfab954b71/lib/ProgressPlugin.js#L491-L494

This would make storybook compatible with webpack 5 again (at least from what I have seen so far).

@shilman shilman changed the title [SERVER] ProgressPlugin handler: Consider arg3 potentially undefined (webpack 5 compatibility) Core: Add webpack5 compatibility check for ProgressPlugin Nov 24, 2020
@shilman shilman added the maintenance User-facing maintenance tasks label Nov 24, 2020
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

Looks safe to me! Merging even if it doesn't fix the whole compatibility story. 😄

@shilman shilman modified the milestones: 6.1 docs, 6.1 core Nov 24, 2020
@shilman shilman changed the title Core: Add webpack5 compatibility check for ProgressPlugin Core: Fix webpack5 compatibility check for ProgressPlugin Nov 24, 2020
@shilman shilman merged commit aa678e0 into storybookjs:next Nov 24, 2020
@FabianSellmann FabianSellmann deleted the patch-1 branch November 25, 2020 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants