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
none
I want use vue jsx in rspack, but get an ReferenceError: React is not defined error
ReferenceError: React is not defined
No response
The text was updated successfully, but these errors were encountered:
See thread here: swc-project/swc#5661
Sorry, something went wrong.
After adjusting the order of swc-loader and babel jsx plugin, the problem was solved...
@9aoy could you share how to achieve this in rsbuild config.
@dejour In rsbuild, we let jsx syntax be processed by babel-loader first, so that when passing through swc-loader, there will be no jsx syntax.
babel-loader
swc-loader
No branches or pull requests
System Info
none
Details
I want use vue jsx in rspack, but get an
ReferenceError: React is not defined
errorReproduce link
No response
Reproduce Steps
none
The text was updated successfully, but these errors were encountered: