diff --git a/lib/detect-dependencies.js b/lib/detect-dependencies.js index 7ee3464..de696bf 100644 --- a/lib/detect-dependencies.js +++ b/lib/detect-dependencies.js @@ -174,9 +174,7 @@ function gatherInfo(config) { }); if (dep.main.length === 0 && !depIsExcluded) { - // can't find the main file. this config file is useless! config.get('on-main-not-found')(component); - return; } if (componentConfigFile.dependencies) {