Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clean up import of React in JSX runtime #24863

@jonkoops

Description

@jonkoops

The JSX runtime that is compiled for the 'common' resources for React includes an import to ./react.production.min.js, this works because such a file exists relative to the path where the JSX runtime code resides. However, the react module is already exposed by the import map, and should be used instead.

In this task, the build must be customized so that this import is replaced with a plain import to the react module.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions