Skip to content

Commit 64c57b4

Browse files
committed
build: use nodenext module resolution with tsc
1 parent 2648525 commit 64c57b4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"target": "es6",
5-
"module": "ES2020"
5+
"module": "nodenext"
66
},
77
"exclude": ["tests"]
88
}

packages/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"module": "esnext",
5-
"moduleResolution": "node",
4+
"module": "nodenext",
5+
"moduleResolution": "nodenext",
66
"newLine": "lf",
77
"strict": true
88
},

0 commit comments

Comments
 (0)