Skip to content

Commit 60182c7

Browse files
authored
Switch back to node as default for moduleResolution (microsoft#197032)
Fixes microsoft#196554 Looks like bundler breaks `require()` intellisense
1 parent a83b9ba commit 60182c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/typescript-language-features/src/tsconfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function inferredProjectCompilerOptions(
2727
): Proto.ExternalProjectCompilerOptions {
2828
const projectConfig: Proto.ExternalProjectCompilerOptions = {
2929
module: 'ESNext' as Proto.ModuleKind,
30-
moduleResolution: (version.gte(API.v500) ? 'Bundler' : 'Node') as Proto.ModuleResolutionKind,
30+
moduleResolution: 'Node' as Proto.ModuleResolutionKind,
3131
target: 'ES2022' as Proto.ScriptTarget,
3232
jsx: 'react' as Proto.JsxEmit,
3333
};

0 commit comments

Comments
 (0)