Browse Source

squelch external dependency warnings coming from rollup.config.js – fixes #333

gh-438-b
Rich-Harris 9 years ago
parent
commit
8936840c05
  1. 5
      bin/runRollup.js

5
bin/runRollup.js

@ -27,7 +27,10 @@ module.exports = function ( command ) {
rollup.rollup({
entry: config,
onwarn: log
onwarn: function ( message ) {
if ( /Treating .+ as external dependency/.test( message ) ) return;
log( message );
}
}).then( function ( bundle ) {
var code = bundle.generate({
format: 'cjs'

Loading…
Cancel
Save