wasm build uses old swc libraries?
I'm a Rust newbie, maybe I'm doing something wrong.
I have everything building natively with the latest swc.
However, when I try to build for wasm, it's giving errors that indicate it's still using the old API?
4 Replies
I think you need to run
curl https://raw.githubusercontent.com/swc-project/swc/main/scripts/update-all-swc-crates.sh | bash -s
Hmm, that upgraded several swc packages from .0 to .1, but now it no longer compiles:
I’ll fix this once I get home
It should be fixed
Thank you so much for your help, it works now!
The wasm build was because the cargo workspace was misconfigured and it had old dependencies.