fix cloudflare pages direct upload build

This commit is contained in:
kuekhaoyang
2026-04-02 22:41:49 +08:00
parent e73416d76b
commit 38fe8e00fb
4 changed files with 5135 additions and 20 deletions
+4 -3
View File
@@ -4,10 +4,10 @@
"private": true,
"scripts": {
"dev": "next dev --port ${PORT:-3000}",
"build": "next build",
"build": "next build --webpack",
"start": "next start --port ${PORT:-3000}",
"lint": "eslint",
"pages:build": "npx @cloudflare/next-on-pages@1"
"pages:build": "next-on-pages"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@@ -34,6 +34,7 @@
"postcss": "^8.5.8",
"postcss-preset-env": "^11.2.0",
"tailwindcss": "^4",
"typescript": "^5"
"typescript": "^5",
"vercel": "^47.0.4"
}
}