diff --git a/Makefile b/Makefile index b8a7b6f..dd13637 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ build-wasm: cd src && GOOS=js GOARCH=wasm go build -o ../client/public/main.wasm . +build-wasm-release: + cd src && GOOS=js GOARCH=wasm go build -ldflags="-s -w" -o ../client/public/main.wasm . + build-react: cd client && npm run build -all: build-wasm build-react \ No newline at end of file +all: build-wasm-release build-react \ No newline at end of file