Deemphasize old JSX transform

This commit is contained in:
Sebastian Sebbie Silbermann
2025-04-16 17:56:07 +02:00
parent cebb5e5a05
commit 63c89d7a78

View File

@@ -29,7 +29,7 @@ export function inferredProjectCompilerOptions(
module: (version.gte(API.v540) ? 'Preserve' : 'ESNext') as Proto.ModuleKind,
moduleResolution: (version.gte(API.v540) ? 'Bundler' : 'Node') as Proto.ModuleResolutionKind,
target: 'ES2022' as Proto.ScriptTarget,
jsx: 'react' as Proto.JsxEmit,
jsx: 'react-jsx' as Proto.JsxEmit,
};
if (version.gte(API.v500)) {