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:
parent
ed06fd0936
commit
fdc33ced17
12
Gruntfile.js
12
Gruntfile.js
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user