I am aware of: Hello, World! - The `wasm-bindgen` Guide
Is there a simple way to do this without the usage of package.json and webpack.config.js ?
The idea being:
After we compile the result module, we get my_crate.wasm.js
We have to at some point do something like:
import("my_crate.wasm.js").then(wasm => wasm.run());
- Is it possible to construct all the js manually? (This is for educational purposes, I want to understand the process of how the *.wasm file interacts with the rest of index.html / js).