Skip to content

Commit

Permalink
Fixed --extend flag not being passed correctly from the CLI arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 10, 2017
1 parent abab199 commit be94551
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/src/runRollup.js
Expand Up @@ -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 = () => {};
}
Expand Down

0 comments on commit be94551

Please sign in to comment.