Commit aeed64d1 authored by XhmikosR's avatar XhmikosR

Gruntfile.js: Move common uglify properties together.

parent 9cf9f6c0
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment