Gruntfile.js: Move common uglify properties together.
This commit is contained in:
parent
9cf9f6c099
commit
aeed64d1cb
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 New Issue