Fixes #12012: Use correct banner in docs js
This commit is contained in:
parent
e4b036d278
commit
567dc12e86
17
Gruntfile.js
17
Gruntfile.js
|
@ -96,15 +96,24 @@ module.exports = function (grunt) {
|
||||||
},
|
},
|
||||||
|
|
||||||
uglify: {
|
uglify: {
|
||||||
options: {
|
|
||||||
banner: '<%= banner %>\n',
|
|
||||||
report: 'min'
|
|
||||||
},
|
|
||||||
bootstrap: {
|
bootstrap: {
|
||||||
|
options: {
|
||||||
|
banner: '<%= banner %>\n',
|
||||||
|
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: {
|
||||||
|
banner: '/*!\n' +
|
||||||
|
' * Bootstrap Docs (<%= pkg.homepage %>)\n' +
|
||||||
|
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
|
||||||
|
' * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n' +
|
||||||
|
' * details, see http://creativecommons.org/licenses/by/3.0/.\n' +
|
||||||
|
' */\n',
|
||||||
|
report: 'min'
|
||||||
|
},
|
||||||
src: [
|
src: [
|
||||||
'docs-assets/js/less.js',
|
'docs-assets/js/less.js',
|
||||||
'docs-assets/js/jszip.js',
|
'docs-assets/js/jszip.js',
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue