mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
05dfae3146
This reverts commit b442ce3130
.
15 lines
450 B
JavaScript
15 lines
450 B
JavaScript
'use strict'
|
|
|
|
const path = require('path')
|
|
const pkg = require(path.resolve(__dirname, '../package.json'))
|
|
const year = new Date().getFullYear()
|
|
|
|
function getBanner(pluginFilename) {
|
|
return `/*!
|
|
* Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
|
|
* Copyright 2011-${year} ${pkg.author}
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
*/`
|
|
}
|
|
|
|
module.exports = getBanner
|