diff --git a/package.json b/package.json index 2947f39..f141a49 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "scripts": { "prepare": "presetter bootstrap", "build": "presetter run build", - "build:wasm": "mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go", + "build:wasm": "gvm use go1.19; mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go", "semantic-release": "semantic-release" }, "dependencies": {