I've tried doing it myself but it didn't work out, then I installed wasm-pack and it barely did anything useful. I spent ~30 seconds downloading, compiling and running God-knows-what on my personal machine without sandboxing of any kind, just to see it spit out a bunch of emojis into the terminal and then generate a single file of barely useful boilerplate JavaScript.
I'm convinced wasm-pack is entirely optional for simpler Rust-Wasm scenarios, especially after configuring build target in .cargo/config.toml.
Please consider adding an example without wasm-pack, it would be greatly appreciated.
Please add an example without wasm-pack.
I've tried doing it myself but it didn't work out, then I installed wasm-pack and it barely did anything useful. I spent ~30 seconds downloading, compiling and running God-knows-what on my personal machine without sandboxing of any kind, just to see it spit out a bunch of emojis into the terminal and then generate a single file of barely useful boilerplate JavaScript.
I'm convinced wasm-pack is entirely optional for simpler Rust-Wasm scenarios, especially after configuring build target in
.cargo/config.toml
.Please consider adding an example without wasm-pack, it would be greatly appreciated.