Skip to content

Commit

Permalink
fix: 更新 netlify 构建命令
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Aug 8, 2024
1 parent f8202fc commit c9cc6cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

[build]
publish = "dist"
command = "pnpm run build"
command = "pnpm run build:netlify"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c9cc6cc

Please sign in to comment.