sitemap.xml手动实现

This commit is contained in:
tangly1024
2022-12-29 21:38:58 +08:00
parent cf254a2797
commit 8640eee392
2 changed files with 56 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
},
"scripts": {
"dev": "next dev",
"build": "next build && next-sitemap --config next-sitemap.config.js",
"build": "next build",
"start": "next start",
"post-build": "next-sitemap --config next-sitemap.config.js",
"bundle-report": "ANALYZE=true yarn build"