fix: add back sitemap script in build

This commit is contained in:
Timothy Lin 2021-08-25 08:52:37 +08:00
parent e1f028e612
commit 33ff1400b0

View File

@ -5,7 +5,7 @@
"scripts": {
"start": "next-remote-watch ./data",
"dev": "next dev",
"build": "next build",
"build": "next build && node ./scripts/generate-sitemap",
"serve": "next start",
"analyze": "cross-env ANALYZE=true next build",
"lint": "next lint --fix --dir pages --dir components --dir lib --dir layouts --dir scripts",