From: XhmikosR Date: Fri, 31 Jan 2014 07:23:31 +0000 (+0200) Subject: Gruntfile.js: Move common uglify properties together. X-Git-Tag: v3.2.0~403^2~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeed64d1cb2a882b7904dc1c7cdbc41ebe814f7a;p=thirdparty%2Fbootstrap.git Gruntfile.js: Move common uglify properties together. --- diff --git a/Gruntfile.js b/Gruntfile.js index b2f0588da8..e9e57afc11 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -112,18 +112,19 @@ module.exports = function (grunt) { }, uglify: { + options: { + report: 'min' + }, bootstrap: { options: { - banner: '<%= banner %>', - report: 'min' + banner: '<%= banner %>' }, src: '<%= concat.bootstrap.dest %>', dest: 'dist/js/<%= pkg.name %>.min.js' }, customize: { options: { - preserveComments: 'some', - report: 'min' + preserveComments: 'some' }, src: [ 'docs/assets/js/vendor/less.min.js', @@ -138,8 +139,7 @@ module.exports = function (grunt) { }, docsJs: { options: { - preserveComments: 'some', - report: 'min' + preserveComments: 'some' }, src: [ 'docs/assets/js/vendor/holder.js',