fix websockets

This commit is contained in:
Toshit Chawda 2024-01-15 12:50:00 -08:00
parent 4081ea6cce
commit 2c54b54b4f
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
5 changed files with 30 additions and 11 deletions

View file

@ -11,7 +11,7 @@ wasm-bindgen --weak-refs --target no-modules --no-modules-global epoxy --out-dir
echo "[ws] bindgen finished"
mv out/epoxy_client_bg.wasm out/epoxy_client_unoptimized.wasm
time wasm-opt out/epoxy_client_unoptimized.wasm -o out/epoxy_client_bg.wasm
time wasm-opt -O4 out/epoxy_client_unoptimized.wasm -o out/epoxy_client_bg.wasm
echo "[ws] optimized"
AUTOGENERATED_SOURCE=$(<"out/epoxy_client.js")