兼容适配 NextJS14.2.4

This commit is contained in:
tangly1024
2024-06-16 10:06:06 +08:00
parent 94b6dc5cb7
commit 83e81dc645
20 changed files with 233 additions and 183 deletions

View File

@@ -17,7 +17,7 @@
"build": "next build",
"start": "next start",
"post-build": "next-sitemap --config next-sitemap.config.js",
"export": "next build && next-sitemap --config next-sitemap.config.js && next export",
"export": "cross-env EXPORT=true next build && next-sitemap --config next-sitemap.config.js",
"bundle-report": "cross-env ANALYZE=true next build",
"build-all-in-dev": "cross-env VERCEL_ENV=production next build"
},