refactor: use robots and sitemap metadata

This commit is contained in:
Timothy Lin
2023-07-09 15:55:41 +08:00
parent b6dac68f61
commit 54ff8c7b48
9 changed files with 924 additions and 38 deletions
+4 -4
View File
@@ -5,7 +5,7 @@
"scripts": {
"start": "next dev",
"dev": "cross-env INIT_CWD=$PWD next dev",
"build": "cross-env INIT_CWD=$PWD next build && cross-env NODE_OPTIONS='--experimental-json-modules' node -r esbuild-register ./scripts/postbuild.mjs",
"build": "cross-env INIT_CWD=$PWD next build && cross-env NODE_OPTIONS='--experimental-json-modules' node ./scripts/postbuild.mjs",
"serve": "next start",
"analyze": "cross-env ANALYZE=true next build",
"lint": "next lint --fix --dir pages --dir components --dir lib --dir layouts --dir scripts"
@@ -48,7 +48,6 @@
"@typescript-eslint/parser": "^5.61.0",
"cross-env": "^7.0.3",
"dedent": "^0.7.0",
"esbuild-register": "3.4.2",
"eslint": "^8.43.0",
"eslint-config-next": "13.4.7",
"eslint-config-prettier": "^8.8.0",
@@ -78,5 +77,6 @@
"*.+(js|jsx|ts|tsx|json|css|md|mdx)": [
"prettier --write"
]
}
}
},
"packageManager": "yarn@3.6.1"
}