0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

Always use preserveComment: 'some'

This commit is contained in:
Bas Bosman 2014-06-15 16:41:24 +02:00
parent ed06fd0936
commit fdc33ced17

View File

@ -109,17 +109,14 @@ module.exports = function (grunt) {
}, },
uglify: { uglify: {
options: {
preserveComments: 'some'
},
bootstrap: { bootstrap: {
options: {
banner: '<%= banner %>'
},
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: {
preserveComments: 'some'
},
src: [ src: [
'docs/assets/js/_vendor/less.min.js', 'docs/assets/js/_vendor/less.min.js',
'docs/assets/js/_vendor/jszip.min.js', 'docs/assets/js/_vendor/jszip.min.js',
@ -132,9 +129,6 @@ module.exports = function (grunt) {
dest: 'docs/assets/js/customize.min.js' dest: 'docs/assets/js/customize.min.js'
}, },
docsJs: { docsJs: {
options: {
preserveComments: 'some'
},
src: [ src: [
'docs/assets/js/_vendor/holder.js', 'docs/assets/js/_vendor/holder.js',
'docs/assets/js/_vendor/ZeroClipboard.min.js', 'docs/assets/js/_vendor/ZeroClipboard.min.js',