Skip to content
Permalink
Browse files

Uses findMetroConfig and fetchMetroConfig in the internal RN cli

Reviewed By: davidaurelio

Differential Revision: D6819226

fbshipit-source-id: 6436855cc5dce9ce7922d89df99c3cb90abb095e
  • Loading branch information...
arcanis authored and facebook-github-bot committed Feb 2, 2018
1 parent d99ba70 commit 752427b7b8221bbb8304a158b2dad12b26afd7a5
Showing with 3 additions and 0 deletions.
  1. +3 −0 local-cli/util/Config.js
@@ -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);
},

0 comments on commit 752427b

Please sign in to comment.
You can’t perform that action at this time.