mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Switch back to node
as default for moduleResolution
(#197031)
Fixes #196554 Looks like bundler breaks `require()` intellisense
This commit is contained in:
parent
c1ec0edf78
commit
0279c52a02
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue