-
Notifications
You must be signed in to change notification settings - Fork 112
fix(metro-config): fix out-of-tree platforms not being included on react-native 0.72 #2467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I get the following error due to the new default config not picking up the remaining part of the metro-config which was previously in the getDefaultConfig from the CLI. https://github.com/react-native-community/cli/blob/1796cdd794979dcf37ba5c7ec4303154bb71d56c/packages/cli-plugin-metro/src/tools/loadMetroConfig.ts#LL44C5-L44C5 -- I'm sure we need the other parts of this config too. |
kelset
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; let's also do what Andrew says in the profile (which I think you might have already done by now)
743e0cd to
f86eaf8
Compare
|
@acoates-ms: My testing was flawed, so I didn't repro the issue correctly. The issue was that
|
|
@acoates-ms: In any case, I think this is as correct as I can make it. Can you verify on your side that it works? |
Yup, I was able to bundle with these changes. |

Description
Fix compatibility with react-native 0.72
Resolves #2466.
Test plan
n/a