mirror of
https://github.com/status-im/metro.git
synced 2025-01-10 02:55:46 +00:00
c731001864
Summary: I'm planning to split up `DependencyResolver` into the react-native specific implementation of it and a new, generic resolver that is going to replace `node-haste` for jest and other places where we might need JS dependency resolution. The plan is to split the two folders up so that: * `Resolver` is the folder for all the react-native specific resolver code * `DependencyResolver` will become a standalone library, eventually moving into a package called `node-haste`. There is still a lot to be figured out. This is just the first diff of likely many. The current goal is to make `DependencyResolver` standalone to be able to create an instance of a resolver and resolve all dependencies for a file. This is when I can start integrating it more seriously with jest. This diff simply moves a bunch of things around and turns `HasteModuleResolver` into an ES2015 class ( :) ). bypass-lint public Reviewed By: davidaurelio Differential Revision: D2614151 fb-gh-sync-id: ff4e434c4747d2fb032d34dc19fb85e0b0c553ac