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 = () => {}; }