Replace cargo-web with wasm-pack on build environment
This commit is contained in:
Regular → Executable
+2
-2
@@ -21,7 +21,7 @@ EOF
|
||||
if [ $ARCH == "aarch64" -o $ARCH == "armv71" ] ; then
|
||||
export PATH=/opt/local/llvm/bin:${PATH}
|
||||
cd /app
|
||||
RUSTFLAGS="-C linker=lld" cargo web deploy -p plume-front
|
||||
RUSTFLAGS="-C linker=lld --cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front
|
||||
else
|
||||
cargo web deploy -p plume-front
|
||||
RUSTFLAGS="--cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user