diff --git a/vercel.json b/vercel.json index 58c729c..3ac543d 100644 --- a/vercel.json +++ b/vercel.json @@ -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" } \ No newline at end of file