diff --git a/packages/rollup-plugin-babel/src/preflightCheck.js b/packages/rollup-plugin-babel/src/preflightCheck.js index 414efe238..3abfeed0f 100644 --- a/packages/rollup-plugin-babel/src/preflightCheck.js +++ b/packages/rollup-plugin-babel/src/preflightCheck.js @@ -12,6 +12,8 @@ export default function preflightCheck ( options, dir ) { options = assign( {}, options ); delete options.only; + delete options.ignore; + options.filename = join( dir, 'x.js' ); options.plugins = options.plugins ? options.plugins.concat( classes ) : [ classes ];