mirror of
https://github.com/status-im/metro.git
synced 2025-01-30 21:05:11 +00:00
c157c9a1f3
Summary: Here, we change the mechanism of finding files from `path.resolve(__dirname, ...)` to `require.resolve(...)`. The latter depends on the location of one file rather than two, and is usually more readable and intention revealing. Reviewed By: cpojer Differential Revision: D7858479 fbshipit-source-id: 98373cc0860faa791e60d5f11502d762fd22a409