Disable babelrc processing on the already-processed configuration - fixes T6690

This commit is contained in:
Logan Smyth 2015-11-28 23:46:29 -08:00
parent c7c80bc0a3
commit 2bb01c6373

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