diff options
| author | Mark Otto <[email protected]> | 2014-02-04 01:22:29 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-04 01:22:29 -0800 |
| commit | d158e822a1a1bfbfa5fe3873a05f7a1a72b80389 (patch) | |
| tree | f56dd6c16b979f149e73846115529091bd6b1acb | |
| parent | 9cf9f6c099715538c858e64e537f8fe5c0223691 (diff) | |
| parent | aeed64d1cb2a882b7904dc1c7cdbc41ebe814f7a (diff) | |
| download | bootstrap-d158e822a1a1bfbfa5fe3873a05f7a1a72b80389.tar.xz bootstrap-d158e822a1a1bfbfa5fe3873a05f7a1a72b80389.zip | |
Merge pull request #12572 from XhmikosR/master
Gruntfile.js: Move common uglify properties together.
| -rw-r--r-- | Gruntfile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index b2f0588da..e9e57afc1 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', |
