Skip to content

Commit dba9d74

Browse files
authored
Merge pull request #861 from acacode/node-18
Set the build target to Node.js 18
2 parents 27dde6e + 11d3d5e commit dba9d74

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"checkJs": false,
88
"module": "NodeNext",
99
"moduleResolution": "NodeNext",
10-
"noEmit": true,
11-
"noPropertyAccessFromIndexSignature": false,
12-
"resolveJsonModule": true
10+
"noEmit": true
1311
},
1412
"exclude": ["dist"]
1513
}

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export default defineConfig({
1515
minify: true,
1616
sourcemap: true,
1717
splitting: true,
18-
target: "node22",
18+
target: "node18",
1919
treeshake: true,
2020
});

0 commit comments

Comments
 (0)