Replace cargo-web with wasm-pack on build environment

This commit is contained in:
Kitaiti Makoto
2021-02-12 05:00:34 +09:00
parent 0bcf063b05
commit affe24b9c6
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ pkg="$4"
build () {
features="$1"
cargo clean
cargo web deploy -p plume-front --release
RUSTFLAGS="--cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front
cargo build --release --no-default-features --features="${features}" --package=plume-cli
cargo build --release --no-default-features --features="${features}"
./script/generate_artifact.sh