1
0
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:
Jack Foltz 2018-01-14 09:51:36 -05:00
parent 9e36c3c244
commit 6b22e0790e
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -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'));
});