Uses findMetroConfig and fetchMetroConfig in the internal RN cli
Reviewed By: davidaurelio Differential Revision: D6819226 fbshipit-source-id: 6436855cc5dce9ce7922d89df99c3cb90abb095e
This commit is contained in:
parent
d99ba70c49
commit
752427b7b8
|
@ -93,6 +93,9 @@ const Config = {
|
|||
return configPath ? this.load(configPath, startDir) : {...Config.DEFAULT};
|
||||
},
|
||||
|
||||
getProjectPath,
|
||||
getProjectRoots,
|
||||
|
||||
load(configFile: string): ConfigT {
|
||||
return MetroConfig.load(configFile, Config.DEFAULT);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue