Skip to content

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

Closed
@gaearon

Description

@gaearon

#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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions