Skip to content

Commit

Permalink
Merge pull request #23 from meanjs/master
Browse files Browse the repository at this point in the history
fix(gulpfile): show error on uglify (meanjs#1860)
  • Loading branch information
GulajavaMinistudio authored Sep 4, 2017
2 parents 00bdb36 + 4320780 commit 32cb5b5
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 32cb5b5

Please sign in to comment.