diff --git a/package.json b/package.json index adc8c5b53..aa283dc96 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "grunt-contrib-jst": "~1.0.0", "grunt-contrib-less": "1.4.0", "grunt-contrib-pug": "^1.0.0", - "grunt-contrib-uglify": "~2.0.0", + "grunt-contrib-uglify-es": "^3.3.0", "grunt-contrib-watch": "~1.0.0", "grunt-sails-linker": "~1.0.4", "grunt-sass": "^2.0.0", diff --git a/tasks/config/uglify.js b/tasks/config/uglify.js index d06bd9a4c..130321d9d 100644 --- a/tasks/config/uglify.js +++ b/tasks/config/uglify.js @@ -18,5 +18,5 @@ module.exports = function(grunt) { } }); - grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-uglify-es'); };