Run install wasm-pack via cargo to allow running it on the server

This commit is contained in:
Knyffen 2024-11-16 16:52:32 +01:00
parent eaa7e4028a
commit 1b0686d16f

1
run.sh
View File

@ -3,6 +3,7 @@ cd shared || exit;
cargo build || exit;
cd ..;
cargo install wasm-pack; # install wasm-pack on the server
cd browser || exit;
wasm-pack build --target web || exit;
cd ..;