Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add additional tests for undefined platform minification behav…
…ior. (#27515) # Why - Metro's platform minification plugin has undefined behavior where the Platform module doesn't need to come from the `react-native` import, this inadvertently resolves the need to add support for `expo-modules-core`. - I'll add a follow up PR to fork the Metro plugin and remove the many additional passes used to support haste. Will also fix the extra case I found where `.native` is left as-is even when bundling for web. # Test Plan - Added tests only --------- Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters