Request: Define to exports cjs/* files in package.json
React version: 18.2.0 I am encountering an issue when attempting to use React version 18.2.0 to build CJS to ESM support in browsers. The problem is related to the cjs folder not being defined in the "exports" field of the React package.json file. Please check out this message error https://github.com/esm-bundle/react/actions/runs/7909812813/job/21591452688?pr=303#step:6:16
[!] Error: Package subpath './cjs/react.development.js' is not defined by "exports" in /Users/vctqs1/Documents/developer/forked/react/node_modules/react/package.json
While cjs folder is not exports
The current behavior
-
cjsfolder is notexports
The expected behavior
-
cjsfolder is ableexportsin package.json
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
bump
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!