Avoid searching .babelrc if breakConfig is set

This commit is contained in:
Cesar Andreu 2015-04-02 21:24:06 -07:00
parent d7fb9f67df
commit ed58c80c64

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;
};