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:
commit
d158e822a1
12
Gruntfile.js
12
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',
|
||||
|
Loading…
Reference in New Issue
Block a user