You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
cjs folder is not exports
The expected behavior
cjs folder is able exports in package.json
The text was updated successfully, but these errors were encountered:
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!
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
While
cjs
folder is notexports
The current behavior
cjs
folder is notexports
The expected behavior
cjs
folder is ableexports
in package.jsonThe text was updated successfully, but these errors were encountered: