mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
361f3f30d3
Summary: The feature added in D2862850 only adds the module that requests shallow dependency resolution to the dependencies of a module. The reason why this is happens is because `collect` calls `response.addDependency` but if `recursive` is set to `false`, dependencies don't call `collect` and therefore don't get added to the resolution response. This fixes it by adding dependencies outside of the `collect` call. public Reviewed By: davidaurelio Differential Revision: D2885152 fb-gh-sync-id: 8ab3b6c6b7cd45d59615a99ac87984a41b5d7025