diff --git a/Gruntfile.js b/Gruntfile.js index c22f633b57..440c43a943 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -17,7 +17,7 @@ * To generate the now existing package.json: * npm init * npm install grunt --save-dev - * npm install grunt-contrib-uglify --save-dev + * npm install grunt-contrib-uglify-es --save-dev * npm install grunt-newer --save-dev * npm install grunt-contrib-cssmin --save-dev * npm install grunt-hub --save-dev @@ -426,7 +426,7 @@ module.exports = function (grunt) { } }); // Load the plugin that provides the "uglify" task. - grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-uglify-es'); // Load plugin for css minificaton grunt.loadNpmTasks('grunt-contrib-cssmin'); diff --git a/package.json b/package.json index 1aa10146e4..2fe92887b9 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,11 @@ "dependencies": {}, "repository": {}, "devDependencies": { - "grunt": "^1.0.1", + "grunt": "^1.0.3", "grunt-contrib-cssmin": "^2.2.1", "grunt-contrib-uglify": "^3.1.0", + "grunt-contrib-uglify-es": "^3.3.0", "grunt-hub": "^0.7.0", - "grunt-newer": "^1.2.0" + "grunt-newer": "^1.3.0" } }