Skip to content

Commit

Permalink
Merge pull request #99 from AMcBain/master
Browse files Browse the repository at this point in the history
Ignore Babel 'only' options property for preflight checks.
  • Loading branch information
Rich-Harris authored and Andarist committed Dec 25, 2019
1 parent cce4aa1 commit d1f580a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rollup-plugin-babel/src/preflightCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default function preflightCheck ( options, dir ) {
let helpers;

options = assign( {}, options );
delete options.only;
options.filename = join( dir, 'x.js' );

options.plugins = options.plugins ? options.plugins.concat( classes ) : [ classes ];
Expand Down

0 comments on commit d1f580a

Please sign in to comment.