mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-30 14:31:42 -05:00
Add minify error logging to gulpfile
This commit is contained in:
parent
9e36c3c244
commit
6b22e0790e
@ -105,7 +105,9 @@ gulp.task('concatjs', function () {
|
||||
var tasks = files.map(function (entry) {
|
||||
return gulp.src(entry.src)
|
||||
.pipe(concat(entry.name))
|
||||
.pipe(uglify())
|
||||
.pipe(uglify().on('error', function(err) {
|
||||
console.log(err.toString());
|
||||
}))
|
||||
.pipe(gulp.dest('public/js'));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user