-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
esbuild-wasm is now erroring out from missing builtin node packages on the web #2105
Comments
This might be a regression of #2081 that moves code including We can try to wrap these code in a |
I hope that the problem is fixed |
I believe this was accidentally fixed by me upgrading to Go 1.18.0, which separated out node-related stuff into another file: golang/go@680caf1. So this should be fixed in the upcoming release of esbuild. |
Awesome |
esbuild-wasm
uses "fs", "crypto", etc... in the source code, but those packages can't be bundled and sent to the web so trying to use bundleesbuild-wasm
for the web keeps failing, this specifically only occurs in versions>=v0.14.26
that includes the latest version as of this postv0.14.27
.You can replicate this issue here: https://stackblitz.com/github/okikio/bundle/tree/012f041ef099b6d9e734654adb2d7f8d4744aa2d?file=package.json
# Run npm run build
The error should appear.
The text was updated successfully, but these errors were encountered: