-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby): support node: protocol when bundling engines #36506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me minus the one test change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol clicked the wrong button
Co-authored-by: Josh Johnson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥
Ugh, the node version we use for e2e in circleci doesn't support |
I did add hacky polyfill to e2e/prod that allows importing |
Description
With introduction of
node:
protocol/imports ( https://nodejs.org/api/esm.html#node-imports ) packages begun to use it and this PR adds bundling support for those. Without it we are getting problems like ones described in webpack/webpack#13290Related Issues
Fixes #36500