Skip to content
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

[v4] Change JSX runtime detection mechanism to presence of /jsx-runtime.js #9772

Closed
gaearon opened this issue Oct 9, 2020 · 2 comments · Fixed by #9788
Closed

[v4] Change JSX runtime detection mechanism to presence of /jsx-runtime.js #9772

gaearon opened this issue Oct 9, 2020 · 2 comments · Fixed by #9788

Comments

@gaearon
Copy link
Contributor

gaearon commented Oct 9, 2020

#9645 detects 17+ which is not ideal because we're planning to release 16.x, 15.x, and 0.14.x releases with the new JSX runtime included. Ideally we should instead look at whether react/jsx-runtime.js exists.

@mrmckeb
Copy link
Contributor

mrmckeb commented Oct 11, 2020

We need to do some work on this anyway (for Jest support), so we can make all of these changes at once.

@iansu I can pick this up tomorrow if that's OK with you?

@gaearon
Copy link
Contributor Author

gaearon commented Oct 11, 2020

Related #9782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants