Merge pull request #3116 from loganfsmyth/register-plugin-duplication

Disable babelrc processing on the already-processed configuration - fixes T6690
This commit is contained in:
Logan Smyth 2015-12-03 18:33:58 -08:00
commit aa6dc5d153

View File

@ -70,6 +70,9 @@ function compile(filename) {
if (!result) {
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",
ast: false
}));