From 1d8e2a2248ab6defc910e1ff1b61d31c56c19493 Mon Sep 17 00:00:00 2001 From: Arthur McBain Date: Thu, 3 Nov 2016 17:11:27 -0700 Subject: [PATCH] Ignore Babel 'only' options property for preflight checks. --- src/preflightCheck.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/preflightCheck.js b/src/preflightCheck.js index 6ae87d4..9dd0cc7 100644 --- a/src/preflightCheck.js +++ b/src/preflightCheck.js @@ -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 ];