in src/builders/RootImporter.hack [29:49]
public function __construct(
string $root,
IncludedRoots $included = IncludedRoots::PROD_ONLY,
) {
$this->hh_importer = new HHImporter($root, $included);
$this->builders[] = $this->hh_importer;
$config = $this->hh_importer->getConfig();
if (!$config['includeVendor']) {
return;
}
foreach (\glob($root.'/vendor/*/*/') as $dependency) {
if (\file_exists($dependency.'/hh_autoload.json')) {
$this->builders[] = new HHImporter(
$dependency,
IncludedRoots::PROD_ONLY,
);
}
}
}