Merge pull request #1140 from cesarandreu/patch-2

Avoid searching .babelrc if breakConfig is set
This commit is contained in:
Sebastian McKenzie 2015-04-03 15:27:24 +11:00
commit 5ccbed585b

View File

@ -44,7 +44,10 @@ export default function (loc, opts = {}) {
}
}
find(loc, rel);
if (opts.breakConfig !== true) {
find(loc, rel);
}
return opts;
};