-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Module not found: "env" #21
Comments
Thanks for the report! In general the I suspect this won't be usable over "general" ES module files, but rather a different strategy would be needed for loading the wasm file. |
I'm going to close this as I think this is a general "ES modules in wasm are a little underbaked issue" but otherwise the tool I believe is working as intended |
When using
wasm2es6js
or even looking at the generated raw wasm file, the generated module refers to a module called"env"
. This module I assume should resolve to the main.js
file generated bywasm-bindgen
since it expects it to contain__wbindgen_throw
according to the import table of the.wasm
file.However it also expects the
__web_on_grow
function which is not defined.I'm attempting to integrate this tool with webpack. How should I map this
"env"
module?The text was updated successfully, but these errors were encountered: