mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
15 lines
390 B
JavaScript
15 lines
390 B
JavaScript
'use strict'
|
|
|
|
const pkg = require('../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/main/LICENSE)
|
|
*/`
|
|
}
|
|
|
|
module.exports = getBanner
|