Skip to content

Commit 881c345

Browse files
committed
#270 use nodeNext module resolution for js import filenames
1 parent 55f25f8 commit 881c345

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"ES7",
88
"ESNext"
99
],
10-
"moduleResolution": "Node",
10+
// Enforces `.js` relative imports, which is needed because tsc doesn't update filenames
11+
"moduleResolution": "nodeNext",
1112
"esModuleInterop": true,
1213
"allowSyntheticDefaultImports": true,
1314
"jsx": "preserve",

0 commit comments

Comments
 (0)