mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Fixes #12012: Use correct banner in docs js
This commit is contained in:
parent
e4b036d278
commit
567dc12e86
11
Gruntfile.js
11
Gruntfile.js
@ -96,15 +96,24 @@ module.exports = function (grunt) {
|
||||
},
|
||||
|
||||
uglify: {
|
||||
bootstrap: {
|
||||
options: {
|
||||
banner: '<%= banner %>\n',
|
||||
report: 'min'
|
||||
},
|
||||
bootstrap: {
|
||||
src: ['<%= concat.bootstrap.dest %>'],
|
||||
dest: 'dist/js/<%= pkg.name %>.min.js'
|
||||
},
|
||||
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: [
|
||||
'docs-assets/js/less.js',
|
||||
'docs-assets/js/jszip.js',
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user