Merge pull request #1140 from cesarandreu/patch-2
Avoid searching .babelrc if breakConfig is set
This commit is contained in:
commit
5ccbed585b
@ -43,8 +43,11 @@ export default function (loc, opts = {}) {
|
||||
find(up, rel);
|
||||
}
|
||||
}
|
||||
|
||||
find(loc, rel);
|
||||
|
||||
if (opts.breakConfig !== true) {
|
||||
find(loc, rel);
|
||||
}
|
||||
|
||||
|
||||
return opts;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user