-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update resolver to use empty module if redirected against complete pa…
…th in node_modules Summary: Removes undefined behaviour in `metro-resolver` caused by type suppression against `redirectModulePath` results inside `nodeModulesPaths` expansion. Changelog: **[Fix]** Returning `false` from `context.redirectModulePath` will resolve to empty module in all cases Reviewed By: motiz88 Differential Revision: D43665372 fbshipit-source-id: 3a70aa4e9639ec8ad5378b8a53f2d0ff5d76e09d
- Loading branch information
1 parent
c0da607
commit 0f1846a
Showing
2 changed files
with
22 additions
and
25 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