0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #12572 from XhmikosR/master

Gruntfile.js: Move common uglify properties together.
This commit is contained in:
Mark Otto 2014-02-04 01:22:29 -08:00
commit d158e822a1

View File

@ -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',