Merge pull request #3116 from loganfsmyth/register-plugin-duplication
Disable babelrc processing on the already-processed configuration - fixes T6690
This commit is contained in:
commit
aa6dc5d153
@ -70,6 +70,9 @@ function compile(filename) {
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
result = babel.transformFileSync(filename, extend(opts, {
|
result = babel.transformFileSync(filename, extend(opts, {
|
||||||
|
// Do not process config files since has already been done with the OptionManager
|
||||||
|
// calls above and would introduce duplicates.
|
||||||
|
babelrc: false,
|
||||||
sourceMap: "both",
|
sourceMap: "both",
|
||||||
ast: false
|
ast: false
|
||||||
}));
|
}));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user