Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ndelangen
Copy link
Member

Closes #21242

What I did

Remove the alias for global for webpack

@ndelangen ndelangen self-assigned this May 4, 2023
@ndelangen ndelangen added bug patch:yes Bugfix & documentation PR that need to be picked to main branch builder-webpack5 labels May 4, 2023
@ndelangen ndelangen requested a review from tmeasday May 4, 2023 09:44
@ndelangen ndelangen changed the title remove the alias for global Fix: remove the alias for global May 4, 2023
@ndelangen ndelangen changed the title Fix: remove the alias for global Fix: remove the alias for global May 4, 2023
@tmeasday
Copy link
Member

tmeasday commented May 4, 2023

@ndelangen can you explain why this is needed?

@ndelangen
Copy link
Member Author

It used to be so that we depended on a package called global. This package has no typings.
I made a storybook/global package, and changed the aliases, but must have neglected to change the key.

Or more likely I kept it around for backwards compatibility?

I think it's safe to remove now, especially if it's causing issues.

@ndelangen ndelangen merged commit 1733c18 into next May 16, 2023
@ndelangen ndelangen deleted the norbert/fix-21242 branch May 16, 2023 10:18
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 22, 2023
shilman pushed a commit that referenced this pull request May 22, 2023
@shilman shilman mentioned this pull request May 22, 2023
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug builder-webpack5 patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: v7: "global" module alias breaks package that uses the real "global" package

4 participants