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

Fix: remove the alias for global #22393

Merged
merged 2 commits into from May 16, 2023
Merged

Fix: remove the alias for global #22393

merged 2 commits into from May 16, 2023

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
56 checks passed
@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
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 patch:yes Bugfix & documentation PR that need to be picked to main 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
3 participants