Skip to content

Commit ee8452f

Browse files
committed
Deemphasize old JSX transform
People should choose the new, automatic transform over the old transform which required a React import.
1 parent 069de74 commit ee8452f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ const compileOnSaveCommandLineOption: CommandLineOption = {
133133
const jsxOptionMap = new Map(Object.entries({
134134
"preserve": JsxEmit.Preserve,
135135
"react-native": JsxEmit.ReactNative,
136-
"react": JsxEmit.React,
137136
"react-jsx": JsxEmit.ReactJSX,
138137
"react-jsxdev": JsxEmit.ReactJSXDev,
138+
"react": JsxEmit.React,
139139
}));
140140

141141
/** @internal */

0 commit comments

Comments
 (0)