Skip to content

Support react-native resolution in package.json#5119

Open
UNIDY2002 wants to merge 1 commit intocheeriojs:mainfrom
UNIDY2002:patch-1
Open

Support react-native resolution in package.json#5119
UNIDY2002 wants to merge 1 commit intocheeriojs:mainfrom
UNIDY2002:patch-1

Conversation

@UNIDY2002
Copy link
Copy Markdown
Contributor

@UNIDY2002 UNIDY2002 commented Mar 3, 2026

React Native's bundler (metro) will try to find a "react-native" field during resolution.

If unfound, it will fallback to "import" or "require", which includes incompatible dependencies, causing issues like #4005, #4012.

This PR fixes #4005, fixes #4012.

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

Labels

None yet

1 participant