Turns out I forgot to answer your actual question…
It’s cargo build --target wasm32-unknown-unknown --release --locked -p <your canister name>
and then ic-wasm <wasm file> shrink
Turns out I forgot to answer your actual question…
It’s cargo build --target wasm32-unknown-unknown --release --locked -p <your canister name>
and then ic-wasm <wasm file> shrink