-
Notifications
You must be signed in to change notification settings - Fork 21
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-plugin-meta-url + quickjs-emscripten aborts #164
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
I am using https://github.com/justjake/quickjs-emscripten with esbuild.
It works fine until quickjs-emscriptedn v0.24.0.
quickjs-emscripten v0.25.0+ started using
import.meta.url
, something likenew URL("emscripten-module.wasm", import.meta.url).href
.Which is, unfortunately, not supported by esbuild yet: evanw/esbuild#795
Some users (including myself) reported it in justjake/quickjs-emscripten#151
I tried esbuild-plugin-meta-url and found an issue.
Repro
I made a repro here: https://github.com/exoego/quickjs-emscripten-esbuild-repro
Issue
Running esbuild with meta URL plugin aborts due to heap out of memory:
I gave a try on large heap but did not help:
node --max-old-space-size=24000 esbuild.mjs
which hangs.The text was updated successfully, but these errors were encountered: