-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unstable_inlinePlatform option to transform config
Summary: Metro resolver logic can be customized in various ways to support bespoke platform-style extensions in modules. In certain cases, these kinds of bespoke platform overrides can switch Platform.select behaviors. However, when used in conjunction with the default inlinePlatform transform for Metro, this kind of override may not be possible. This change introduces an unstable API that can be used to disable inlinePlatform transforms. Reviewed By: robhogan Differential Revision: D68346407 fbshipit-source-id: d3042554b21b437e85ced7adf5156ecad81263d5
- Loading branch information
1 parent
ab33059
commit 14c4d43
Showing
3 changed files
with
6 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
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