编译优化
This commit is contained in:
tangly1024
2021-12-17 15:38:33 +08:00
parent 636d355234
commit 395f402896
7 changed files with 9 additions and 88 deletions

View File

@@ -14,8 +14,7 @@
},
"scripts": {
"dev": "next dev",
"dev-mac": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"build": "next build && next-sitemap --config next-sitemap.config.js",
"start": "next start",
"post-build": "next-sitemap --config next-sitemap.config.js"
},