Skip to content

Commit

Permalink
Merge pull request #1482 from Andarist/fix/cli-extend
Browse files Browse the repository at this point in the history
Fixed --extend flag not being passed correctly from the CLI arguments
  • Loading branch information
Rich-Harris committed Jul 13, 2017
2 parents 3e38651 + be94551 commit 2ff79f9
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 2ff79f9

Please sign in to comment.