Skip to content

Commit

Permalink
fix(gulpfile): show error on uglify (meanjs#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil authored and cicorias committed Sep 12, 2017
1 parent 862db77 commit 689b508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ gulp.task('uglify', function () {
.pipe(plugins.ngAnnotate())
.pipe(plugins.uglify({
mangle: true
}).on('error', function (err) {
console.log('Uglify error : ', err.toString());
}))
.pipe(plugins.concat('application.min.js'))
.pipe(plugins.rev())
Expand Down

0 comments on commit 689b508

Please sign in to comment.