You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
* Allows custom Metro resolvers specified with `resolver.resolveRequest` to intercept Haste resolution requests.
* Makes [`package.json`-based replacements](https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced) consistently take precedence over Haste in the default resolver.
These are potentially breaking changes for Metro users who have Haste enabled (though they are likely to be benign in practice).
Reviewed By: GijsWeterings
Differential Revision: D30425668
fbshipit-source-id: 52fc6d38a3c317b962a9f3fd4262b54c89b6f69e
Copy file name to clipboardexpand all lines: docs/Configuration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ This option works similarly to how [$NODE_PATHS](https://nodejs.org/api/modules.
137
137
138
138
Type: `?CustomResolver`
139
139
140
-
An optional function used to resolve requests. Ignored when the request can be resolved through Haste. Particularly useful for cases where aliases are used. For example:
140
+
An optional function used to resolve requests. Particularly useful for cases where aliases are used. For example:
0 commit comments