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

@ -43,8 +43,11 @@ export default function (loc, opts = {}) {
find(up, rel);
}
}
find(loc, rel);
if (opts.breakConfig !== true) {
find(loc, rel);
}
return opts;
};