With wonderful help from friends [1], here are steps that enabled the jsint_roguewasm
example on my machine:
- edit
index.js
to import from./pkg/roguewasm
instead of./roguewasm
- edit
src/lib.rs
to import from../index
instead of./index
- in
build.sh
, replace thewasm-bindgen
command withwasm-pack build
[1] - Many thanks to Chris Macrae and Evan Theriault