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: esm imports with node: prefix on esbuild #802
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 great! Added just a tiny comment.
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.
🎸
⏱ Benchmark resultslargeDepsEsbuild: 7.7s
Legend
largeDepsNft: 50.2s
Legend
largeDepsZisi: 1m 4.5s
Legend
|
Hey team, is this supposed to be working fine in Netlify CLI? I was testing a repo and got the exact same error in CLI, except the user is using Vite and not Nuxt.js. EDIT: Their |
It's indeed a ZISI problem, which uses esbuild internally. It's expected that this error occurs in the CLI until we ship a new version of that. |
- Summary
fixes a bundling error that occurs when esbuild bundles a
node:
-namespaced esm import.cc nuxt/nuxt#12764
- Test plan
- A picture of a cute animal (not mandatory but encouraged)