-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
refactor(es/react): Add preserve supports and ts config style preset
#10691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
CodSpeed Performance ReportMerging #10691 will not alter performanceComparing Summary
|
|
Roadmap:
|
| * Effective only if `syntax` supports. | ||
| */ | ||
| react?: ReactConfig; | ||
| react?: JSXPreset | ReactConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The react field now supports both object-style configuration (maintaining Babel compatibility) and string-based presets (like TypeScript's JSX presets).
However, the current config "react": "react" appears slightly odd. I propose renaming this field to jsx during future configuration refinements.
Uh oh!
There was an error while loading. Please reload this page.