I have a crate named foobar
When I do
cargo web build --target=wasm32-unknown-unknown --release
it builds for me foobar.wasm, foobar.js
.
Due to cache invalidation issues, I would prefer to be able to specify the name, so it builds out as foobar_00000.wasm, foobar_00000.js
, then `foobar_00001.wasm, foobar_00001.js", etc ...
Is there some way to pass the "output prefix" option to "cargo web build" ?
(It seems like running plain mv
would break things).