Skip to content

Commit

Permalink
Corepack on vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Jul 12, 2024
1 parent 602715d commit ff6886b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"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",
"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",
"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",
"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",
"outputDirectory": "./web/dist"
}

0 comments on commit ff6886b

Please sign in to comment.