Closed shanemadden closed 2 years ago
I gave this a go, but it seems to fail on error: error: multiple js files found in [...]
for me.
Seems to come from this line: https://github.com/rustyscreeps/cargo-screeps/blob/bindgen/src/build.rs#L59
This makes sense since there is both a _bg.js
and a .js
file generated by wasm-bindgen
.
Does this branch work for you?
Hey! How is this draft doing? How can I help to push it forward? :)
Is there any way I can help?
Based on https://github.com/rustyscreeps/cargo-screeps/pull/23 - switches cargo-screeps from wrapping cargo-web to wasm-pack in preparation for conversion of toolchain from cargo-web+stdweb to wasm-pack+bindgen. See here for usage notes.