Skip to content

Commit

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

0 comments on commit 3c60291

Please sign in to comment.