修改打包脚本

This commit is contained in:
zhl 2023-03-23 11:59:47 +08:00
parent 16bf534ceb
commit d72dc1532c
2 changed files with 3 additions and 1 deletions

View File

@ -30,3 +30,5 @@ wasm-bindgen = "0.2.83"
qrcodegen = "1.8.0"
base64 = "0.21.0"
[profile.release]
lto = true

View File

@ -1 +1 @@
AR=/opt/homebrew/opt/llvm/bin/llvm-ar CC=/opt/homebrew/opt/llvm/bin/clang wasm-pack build --target web
AR=/opt/homebrew/opt/llvm/bin/llvm-ar CC=/opt/homebrew/opt/llvm/bin/clang wasm-pack build --target web --release