Skip to content

Commit 3316367

Browse files
committed
Change moduleResolution to "Bundler"
The release notes for TypeScript 5.0 recommend using "bundler" when using tools like Vite, esbuild, Webpack, and so on. - Docs (which unfortunately don't say much): https://www.typescriptlang.org/tsconfig#moduleResolution - See also this PR: microsoft/TypeScript#51669
1 parent af92869 commit 3316367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"target": "ESNext",
55
"module": "ESNext",
6-
"moduleResolution": "Node",
6+
"moduleResolution": "Bundler",
77
"strict": true,
88
"useDefineForClassFields": true,
99
"verbatimModuleSyntax": true,

0 commit comments

Comments
 (0)