-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter options passed to ResolutionContext, convert to exact type
Summary: Update the context object passed to metro-resolver and custom resolvers to match the keys typed for metro-resolver and in our docs. The keys which are no longer exposed are: - `dirExists` - `emptyModulePath` - `mainFields` (will be re-added) - `moduleCache` - `platform` - `projectRoot` This is a breaking change that is summarised in the next commit. Reviewed By: motiz88 Differential Revision: D42546071 fbshipit-source-id: e50355da2edff864848a15c5aad3a98985e93bb6
- Loading branch information
1 parent
c438dd0
commit cb01ec0
Showing
5 changed files
with
49 additions
and
32 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
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