use gzip to reduce tx bytes to ~600K

This commit is contained in:
alu
2026-09-08 22:01:21 +00:00
parent 7bbd8f6eb3
commit 57296ed303
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -5,11 +5,12 @@ build: clean
mkdir -p dist
cp wfa.js dist/wfa.js
GOOS=js GOARCH=wasm CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -o dist/wfa.wasm .
gzip dist/wfa.wasm
clean:
@echo "======================== Cleaning Project ======================"
go clean
rm -f dist/wfa.wasm dist/wfa.js cover.prof cpu.prof mem.prof test.test
rm -f dist/* cover.prof cpu.prof mem.prof test.test
test:
@echo "======================== Running Tests ========================="