Skip to content

Commit ff6886b

Browse files
committed
Corepack on vercel
1 parent 602715d commit ff6886b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vercel.json

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

0 commit comments

Comments
 (0)