-
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.
ModuleResolver: Narrow arguments, don't require entire ModuleMap
Summary: The intention here is to make clear what `ModuleResolver` actually needs out of the (Haste) `ModuleMap`, so that we can more easily reason about whether it's safe to pass a snapshot, live object etc in subsequent diffs. Some "duplication" due to `node-haste.js`, which is only referenced internally by Metro-Buck. I plan to get rid of that and consolidate the implementations, but it's not on the critical path for symlink support right now. Changelog: Internal Reviewed By: huntie Differential Revision: D40837004 fbshipit-source-id: ae305836bc5736359be1de13bc6a361ec4368cc3
- Loading branch information
1 parent
d1f3629
commit 951c1d9
Showing
3 changed files
with
41 additions
and
33 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