You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quickjs-emscripten v0.25.0+ started using import.meta.url, something like new 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.
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: