Is there a way to embed the wasm inside the js file? #3601
-
SummaryEssentally the title. I'm wondering if there is a way I can have the wasm be embeded in the javascript file so its one thing and doesn't need to perform a fetch to a wasm file. Additional DetailsI'm not looking for the wasm to be javascript. The environment I'm working in does support wasm, but I'd like to have it all bundled together as one file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I ended up making a working example that lets you bundle it all together as one big file. https://github.com/BlackAsLight/BundleWasm |
Beta Was this translation helpful? Give feedback.
I ended up making a working example that lets you bundle it all together as one big file. https://github.com/BlackAsLight/BundleWasm