-
Notifications
You must be signed in to change notification settings - Fork 413
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
Embedding WebAssembly in Javascript code #1074
Comments
+1, I've been doing this by hand and would love a build system that does it automatically. |
See also #831. I posted a workaround there that works with Webpack. |
so you proposing essentially |
@sassman that's the gist of it, at least from my perspective. It offers a nice "one-file" solution to incorporate wasm into a webpage. |
I've been searching something like this for days. Has anyone done this with binding any canvas functions? |
Would love to have this! |
Hey @jmole, how did you do this by hand? |
💡 Feature description
I wish wasm-pack could do something like
this
.The feature is almost the same as doing
wasm-pack build --target nodejs
except, instead of doingdo
This is very helpful because I dont have to worry about .wasm file in both nodejs and web.
The text was updated successfully, but these errors were encountered: