From be94551c00260d65eee41e9dca906cb567c3c024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Mon, 10 Jul 2017 11:33:50 +0200 Subject: [PATCH] Fixed --extend flag not being passed correctly from the CLI arguments --- bin/src/runRollup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/src/runRollup.js b/bin/src/runRollup.js index 8e3c39fc5fd..4b6f6a4c134 100644 --- a/bin/src/runRollup.js +++ b/bin/src/runRollup.js @@ -161,6 +161,10 @@ function execute ( options, command ) { external = ( optionsExternal || [] ).concat( commandExternal ); } + if (typeof command.extend !== 'undefined') { + options.extend = command.extend; + } + if ( command.silent ) { options.onwarn = () => {}; }