Compare commits

...

1 Commits

Author SHA1 Message Date
Zoltán Papp
b72a786a13 Use -ldflags "-s -w" to strip debug symbols and reduce binary size 2025-11-19 11:51:49 +01:00

View File

@@ -47,7 +47,7 @@ jobs:
with:
go-version: "1.23.x"
- name: Build Wasm client
run: GOOS=js GOARCH=wasm go build -o netbird.wasm ./client/wasm/cmd
run: GOOS=js GOARCH=wasm go build -o netbird.wasm -ldflags="-s -w" ./client/wasm/cmd
env:
CGO_ENABLED: 0
- name: Check Wasm build size