mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
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};
|
return configPath ? this.load(configPath, startDir) : {...Config.DEFAULT};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getProjectPath,
|
||||||
|
getProjectRoots,
|
||||||
|
|
||||||
load(configFile: string): ConfigT {
|
load(configFile: string): ConfigT {
|
||||||
return MetroConfig.load(configFile, Config.DEFAULT);
|
return MetroConfig.load(configFile, Config.DEFAULT);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user