Skip to content

Commit 22f7684

Browse files
committed
Making wasm files just a little bit smaller
1 parent 944108c commit 22f7684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ build-wasm:
5151
rm ui/assets/*.wasm || true
5252
rm ui/assets/*.wasm.br || true
5353
# Build the wasm file
54-
( cd wasm; GOOS=js GOARCH=wasm go build -o ../ui/assets/app.wasm )
54+
( cd wasm; GOOS=js GOARCH=wasm go build -ldflags "-s -w" -o ../ui/assets/app.wasm )
5555

5656
# Build the wasm binary for production (compressed
5757
build-wasm-prod: build-wasm

0 commit comments

Comments
 (0)