From 3b1275229784d4bd38f7cfd82061f7678fac3bff Mon Sep 17 00:00:00 2001 From: operandom Date: Mon, 20 Jun 2016 12:25:24 +0200 Subject: [PATCH] Add missing parameter. --- bin/src/runRollup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/src/runRollup.js b/bin/src/runRollup.js index 7299d07..ff89f41 100644 --- a/bin/src/runRollup.js +++ b/bin/src/runRollup.js @@ -99,7 +99,7 @@ function execute ( options, command ) { typeof options.external === 'function' ? ((fn, a) => { return function (id) { - return fn() || a.indexOf(id) !== -1; + return fn(id) || a.indexOf(id) !== -1; }; })(options.external, command.external.split(',')) : (options.external || []).concat(command.external.split(',')) :