diff --git a/cmd/gio/jsbuild.go b/cmd/gio/jsbuild.go index 03862aae..3f561d1b 100644 --- a/cmd/gio/jsbuild.go +++ b/cmd/gio/jsbuild.go @@ -21,6 +21,7 @@ func buildJS(bi *buildInfo) error { cmd := exec.Command( "go", "build", + "-ldflags=-w -s "+bi.ldflags, "-o", filepath.Join(out, "main.wasm"), bi.pkg, )