diff --git a/Gruntfile.js b/Gruntfile.js index b5304aafc..6fcfad326 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -234,7 +234,7 @@ module.exports = function (grunt) { } }, - uglify: { + jsmin: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' }, @@ -286,5 +286,6 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-cssmin'); - grunt.registerTask('default', ['less', 'concat', 'uglify', 'cssmin', 'watch']); + grunt.registerTask('default', ['less', 'concat', 'watch']); + grunt.registerTask('uglify', ['less', 'concat', 'jsmin', 'cssmin']); }; \ No newline at end of file