fix
This commit is contained in:
parent
c62d6da8de
commit
05e1e9dd48
2
build.sh
2
build.sh
@ -24,7 +24,7 @@ wasm-bindgen target/wasm32-unknown-unknown/${TYPE}/ytbn_graphing_software.wasm -
|
||||
|
||||
if test "$TYPE" == "release"; then
|
||||
echo "running wasm-opt..."
|
||||
time wasm-opt -Oz --flatten --nominal --dae --dce --code-folding --const-hoisting --coalesce-locals-learning --vacuum --merge-locals --merge-blocks --no-exit-runtime --fast-math --traps-never-happen -o pkg/ytbn_graphing_software_bg_2.wasm pkg/ytbn_graphing_software_bg.wasm
|
||||
time wasm-opt -Oz --dae --dce --code-folding --const-hoisting --coalesce-locals-learning --vacuum --merge-locals --merge-blocks --no-exit-runtime --fast-math --traps-never-happen -o pkg/ytbn_graphing_software_bg_2.wasm pkg/ytbn_graphing_software_bg.wasm
|
||||
mv pkg/ytbn_graphing_software_bg_2.wasm pkg/ytbn_graphing_software_bg.wasm
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user