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:
parent
9cf9f6c099
commit
aeed64d1cb
1 changed files with 6 additions and 6 deletions
12
Gruntfile.js
12
Gruntfile.js
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue