💚 fix linux build due to excessive output

This commit is contained in:
Joao Moreno
2017-03-28 13:01:51 +02:00
parent 0b19861f31
commit 646d0f9e0d
3 changed files with 56 additions and 50 deletions

View File

@@ -202,8 +202,10 @@ function uglifyWithCopyrights() {
var input = es.through();
var output = input
.pipe(flatmap(function (stream, f) {
return stream
.pipe(uglify({ preserveComments: preserveComments(f) }));
return stream.pipe(uglify({
preserveComments: preserveComments(f),
warnings: false
}));
}));
return es.duplex(input, output);
}