use -n and -9 in gzip

This commit is contained in:
alu
2026-09-09 16:51:35 +00:00
parent 57296ed303
commit b0aacd5f9c
+1 -1
View File
@@ -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 ======================"