1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-28 05:26:44 -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) { var tasks = files.map(function (entry) {
return gulp.src(entry.src) return gulp.src(entry.src)
.pipe(concat(entry.name)) .pipe(concat(entry.name))
.pipe(uglify()) .pipe(uglify().on('error', function(err) {
console.log(err.toString());
}))
.pipe(gulp.dest('public/js')); .pipe(gulp.dest('public/js'));
}); });