-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Feature]: jsx runtime should be synced between tsconfig and swc #304
Comments
Rsbuild does not want to be associated with the fields in |
I don't want to make Rslib detect and modify I prefer to check the consistency of |
jsx related tests in Modern.js Module: https://github.com/web-infra-dev/modern.js/blob/main/tests/integration/module/fixtures/build/jsx |
What problem does this feature solve?
See
rslib/examples/react-component-bundle/rslib.config.ts
Line 39 in f9f1751
When
tsconfigjson.jsx
is set toreact
. We need to set swc react runtime toclassic
explicitly. It's pretty error-prone and trivial.What does the proposed API look like?
The text was updated successfully, but these errors were encountered: