Skip to content

Commit 76f8452

Browse files
committed
Modify the TypeScript config to be compatible with ESM-only workflow
1 parent c6e7bf8 commit 76f8452

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tsconfig.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"extends": "@akepinski/tsconfig",
2+
"extends": "@sindresorhus/tsconfig",
33
"compilerOptions": {
44
"outDir": "dist",
5-
"target": "es2018",
6-
"sourceMap": false,
7-
"incremental": false,
5+
"target": "es2020", // Node.js 14
6+
"moduleResolution": "node",
87
"lib": [
9-
"es2018"
8+
"es2020"
109
]
1110
},
1211
"include": [

0 commit comments

Comments
 (0)