From c9cc6cc0557ed80a66324e63ea5b7b860497a696 Mon Sep 17 00:00:00 2001 From: besscroft Date: Thu, 8 Aug 2024 21:52:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20netlify=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index ed4cc77..4654f8d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,4 +3,4 @@ [build] publish = "dist" - command = "pnpm run build" + command = "pnpm run build:netlify" diff --git a/package.json b/package.json index 9e43269..a57bc32 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "pnpm run prisma:generate && next dev", "build": "next build", "build:vercel": "pnpm run prisma:deploy && npx prisma generate && next build", + "build:netlify": "pnpm run prisma:deploy && npx prisma generate && next build", "build:node": "pnpm run prisma:deploy && npx prisma generate && next build", "start": "next start", "lint": "next lint",