Skip to content

Commit

Permalink
Uses findMetroConfig and fetchMetroConfig in the internal RN cli
Browse files Browse the repository at this point in the history
Reviewed By: davidaurelio

Differential Revision: D6819226

fbshipit-source-id: 6436855cc5dce9ce7922d89df99c3cb90abb095e
  • Loading branch information
Maël Nison authored and facebook-github-bot committed Feb 2, 2018
1 parent d99ba70 commit 752427b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions local-cli/util/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit 752427b

Please sign in to comment.