From b0aacd5f9c5f56c9f12d13a796efc59cab4a90ae Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 9 Sep 2026 16:51:35 +0000 Subject: [PATCH] use -n and -9 in gzip --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ef2cf7..063c6e4 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ 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 + gzip -n -9 dist/wfa.wasm clean: @echo "======================== Cleaning Project ======================"