Skip to content

Commit

Permalink
Switch back to node as default for moduleResolution (#197032)
Browse files Browse the repository at this point in the history
Fixes #196554

Looks like bundler breaks `require()` intellisense
  • Loading branch information
mjbvz authored Oct 30, 2023
1 parent a83b9ba commit 60182c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/typescript-language-features/src/tsconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function inferredProjectCompilerOptions(
): Proto.ExternalProjectCompilerOptions {
const projectConfig: Proto.ExternalProjectCompilerOptions = {
module: 'ESNext' as Proto.ModuleKind,
moduleResolution: (version.gte(API.v500) ? 'Bundler' : 'Node') as Proto.ModuleResolutionKind,
moduleResolution: 'Node' as Proto.ModuleResolutionKind,
target: 'ES2022' as Proto.ScriptTarget,
jsx: 'react' as Proto.JsxEmit,
};
Expand Down

0 comments on commit 60182c7

Please sign in to comment.