We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See
rslib/examples/react-component-bundle/rslib.config.ts
Line 39 in f9f1751
When tsconfigjson.jsx is set to react. We need to set swc react runtime to classic explicitly. It's pretty error-prone and trivial.
tsconfigjson.jsx
react
classic
The text was updated successfully, but these errors were encountered:
Rsbuild does not want to be associated with the fields in tsconfig.json, we may do config check in Rslib.
tsconfig.json
Sorry, something went wrong.
I don't want to make Rslib detect and modify @rsbuild/plugin-react's existence, as React is not a built-in solution nor anything special in Rslib.
@rsbuild/plugin-react
I prefer to check the consistency of tsconfigjson.jsx and jsc.transform.react.runtime and emit warning.
jsc.transform.react.runtime
jsx related tests in Modern.js Module: https://github.com/web-infra-dev/modern.js/blob/main/tests/integration/module/fixtures/build/jsx
No branches or pull requests
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: