Skip to content

Commit 9771f8c

Browse files
committed
Revert "Specify type: module (#1029)"
This reverts commit 4f0fcd6.
1 parent f3407fd commit 9771f8c

File tree

5 files changed

+11
-16
lines changed

5 files changed

+11
-16
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import type { IConfig } from "next-sitemap";
1+
/** @type {import('next-sitemap').IConfig} */
22

3-
const config: IConfig = {
3+
module.exports = {
44
siteUrl: "https://cabinpkg.com",
55
generateRobotsTxt: true, // (optional)
66
// ...other options
77
};
8-
9-
export default config;

next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
images: {
4+
domains: ["vhs.charm.sh"],
5+
},
6+
};
7+
module.exports = nextConfig;

next.config.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
"engines": {
66
"node": ">=22"
77
},
8-
"type": "module",
98
"scripts": {
109
"dev": "next dev",
1110
"prebuild": "yarn generate",
1211
"build": "next build",
13-
"postbuild": "next-sitemap --config next-sitemap.config.ts",
12+
"postbuild": "next-sitemap",
1413
"start": "next start",
1514
"lint": "biome check .",
1615
"fmt": "biome format . --write",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default {
1+
module.exports = {
22
plugins: {
33
tailwindcss: {},
44
autoprefixer: {},

0 commit comments

Comments
 (0)