Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

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 committed Dec 12, 2016
2 parents f2849a5 + 1d8e2a2 commit 9897ce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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 9897ce7

Please sign in to comment.