You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some investigation it looks like wasm-bindgen <path to game.wasm> --out-dir dist\ --typescript --target web is generating something different that :
Bindgen::new().typescript(true).input_path(input_path).web(true).expect("web have panic").debug(false).generate_output().expect("could not generate Wasm bindgen file");
I tried
wasm-pack
andxtask-wasm
and I found one difference in the.js
file generated.In the
app.js
ofxtask-wasm
:while in
app.js
ofwasm-pack
:And witheout this
if
my app doesn't workThe text was updated successfully, but these errors were encountered: