-
Notifications
You must be signed in to change notification settings - Fork 469
JSX preserve mode: unused import of "react/jsx-runtime" #7433
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
Comments
@cristianoc do you have any ideas when the |
Do we really need to care about this for v12? Bundlers will just remove it because it's dead anyway. |
Looks like it's coming from a react external. |
Yes, I'm aware of that, it makes sense why it is there. I'm just wondering, where in the codebase it will organize the imports and how that part works? |
I think it's in |
Certainly not a blocker, but still a bit weird to emit unused imports, we never did that before. |
When JSX preserve mode is active, the import statement
is still emitted to the JS output, but is unused there.
The text was updated successfully, but these errors were encountered: