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

Prevents externalizing non-hoisted packages #8739

Merged
merged 2 commits into from
Sep 14, 2019

Conversation

arcanis
Copy link
Contributor

@arcanis arcanis commented Sep 14, 2019

This diff ensures that the packages that wouldn't get the correct resolution if required from the root are properly bundled (and thus don't risk requiring the wrong files if they were loaded at runtime via require).

Tested manually, it solved the core-js error I previously saw.

Fixes #8736

Copy link
Member

@Timer Timer left a comment

Choose a reason for hiding this comment

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

Still trying to come up with a good way to test this, but I don't want it to block the release.

@Timer Timer merged commit 9770d19 into vercel:canary Sep 14, 2019
@gurkerl83
Copy link
Contributor

Awesome, it is working again!!! The last working version was 9.0.6-canary.1.

@Timer
Copy link
Member

Timer commented Sep 15, 2019

@gurkerl83 just to confirm, it should be working on v9.0.6-canary.4 correct?

@gurkerl83
Copy link
Contributor

@Timer it does work with v9.0.6-canary.4.

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

Successfully merging this pull request may close these issues.

Invalid resolution w/ SSR
3 participants