Avoid searching .babelrc if breakConfig is set
This commit is contained in:
parent
d7fb9f67df
commit
ed58c80c64
@ -43,8 +43,11 @@ export default function (loc, opts = {}) {
|
|||||||
find(up, rel);
|
find(up, rel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
find(loc, rel);
|
if (opts.breakConfig !== true) {
|
||||||
|
find(loc, rel);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return opts;
|
return opts;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user