Skip to content

Commit 602715d

Browse files
committed
Split install and build steps
1 parent 0fd0730 commit 602715d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vercel.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"buildCommand": "dnf install -y go && go install golang.org/dl/go1.22.5@latest && /vercel/go/bin/go1.22.5 download && GOOS=js GOARCH=wasm /vercel/go/bin/go1.22.5 build -o ./web/public/main.wasm ./cmd/wasm/main.go && cd web && pnpm install && pnpm build",
2+
"buildCommand": "GOOS=js GOARCH=wasm /vercel/go/bin/go1.22.5 build -o ./web/public/main.wasm ./cmd/wasm/main.go && cd web&& pnpm build",
3+
"installCommand": "cd web && pnpm install --frozen-lockfile && dnf install -y go && go install golang.org/dl/go1.22.5@latest && /vercel/go/bin/go1.22.5 download",
34
"outputDirectory": "./web/dist"
45
}

0 commit comments

Comments
 (0)