1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Gruntfile.js: Move common uglify properties together.

This commit is contained in:
XhmikosR 2014-01-31 09:23:31 +02:00
parent 9cf9f6c099
commit aeed64d1cb

View file

@ -112,18 +112,19 @@ module.exports = function (grunt) {
}, },
uglify: { uglify: {
options: {
report: 'min'
},
bootstrap: { bootstrap: {
options: { options: {
banner: '<%= banner %>', banner: '<%= banner %>'
report: 'min'
}, },
src: '<%= concat.bootstrap.dest %>', src: '<%= concat.bootstrap.dest %>',
dest: 'dist/js/<%= pkg.name %>.min.js' dest: 'dist/js/<%= pkg.name %>.min.js'
}, },
customize: { customize: {
options: { options: {
preserveComments: 'some', preserveComments: 'some'
report: 'min'
}, },
src: [ src: [
'docs/assets/js/vendor/less.min.js', 'docs/assets/js/vendor/less.min.js',
@ -138,8 +139,7 @@ module.exports = function (grunt) {
}, },
docsJs: { docsJs: {
options: { options: {
preserveComments: 'some', preserveComments: 'some'
report: 'min'
}, },
src: [ src: [
'docs/assets/js/vendor/holder.js', 'docs/assets/js/vendor/holder.js',