mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-07 06:06:47 +02:00
preserve third-party attribution comments when minifying docs JS
This commit is contained in:
@@ -128,6 +128,7 @@ module.exports = function (grunt) {
|
|||||||
customize: {
|
customize: {
|
||||||
options: {
|
options: {
|
||||||
banner: '<%= bannerDocs %>',
|
banner: '<%= bannerDocs %>',
|
||||||
|
preserveComments: 'some',
|
||||||
report: 'min'
|
report: 'min'
|
||||||
},
|
},
|
||||||
src: [
|
src: [
|
||||||
@@ -144,6 +145,7 @@ module.exports = function (grunt) {
|
|||||||
docsJs: {
|
docsJs: {
|
||||||
options: {
|
options: {
|
||||||
banner: '<%= bannerDocs %>',
|
banner: '<%= bannerDocs %>',
|
||||||
|
preserveComments: 'some',
|
||||||
report: 'min'
|
report: 'min'
|
||||||
},
|
},
|
||||||
src: [
|
src: [
|
||||||
|
Reference in New Issue
Block a user