From 51c236a908dcb5174da87673340f59b5b92ba851 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Mon, 22 May 2023 11:48:41 +0800 Subject: [PATCH] fix: use pnpm instead of yarn manager in production for vercel builds --- vercel.json | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/vercel.json b/vercel.json index 6c0af8e5..e3dd415a 100644 --- a/vercel.json +++ b/vercel.json @@ -1,13 +1,14 @@ { - "installCommand": "yarn install --frozen-lockfile", - "buildCommand": "yarn docs:build", - "devCommand": "yarn docs:dev", - "cleanUrls": true, - "framework": "vite", - "git": { - "deploymentEnabled": { - "master": true, - "gh-pages": false + "installCommand": "pnpm install --frozen-lockfile", + "buildCommand": "pnpm docs:build", + "devCommand": "pnpm docs:dev", + "cleanUrls": true, + "framework": "vite", + "git": { + "deploymentEnabled": { + "master": true, + "gh-pages": false + } } } -} + \ No newline at end of file