We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd05e46 commit afad7b8Copy full SHA for afad7b8
next-sitemap.config.ts next-sitemap.config.jsnext-sitemap.config.ts renamed to next-sitemap.config.js
@@ -1,9 +1,7 @@
1
-import type { IConfig } from "next-sitemap";
+/** @type {import('next-sitemap').IConfig} */
2
3
-const config: IConfig = {
+export default {
4
siteUrl: "https://cabinpkg.com",
5
generateRobotsTxt: true, // (optional)
6
// ...other options
7
};
8
-
9
-export default config;
package.json
@@ -10,7 +10,7 @@
10
"dev": "next dev",
11
"prebuild": "yarn generate",
12
"build": "next build",
13
- "postbuild": "next-sitemap --config next-sitemap.config.ts",
+ "postbuild": "next-sitemap",
14
"start": "next start",
15
"lint": "biome check .",
16
"fmt": "biome format . --write",
0 commit comments