2018-11-28 12:03:28 +01:00
|
|
|
'use strict'
|
|
|
|
|
2018-12-13 12:14:49 +01:00
|
|
|
const pkg = require('../package.json')
|
|
|
|
const year = new Date().getFullYear()
|
2018-09-25 17:55:35 +02:00
|
|
|
|
2018-09-26 09:54:46 +02:00
|
|
|
function getBanner(pluginFilename) {
|
2018-09-25 17:55:35 +02:00
|
|
|
return `/*!
|
2018-09-26 09:54:46 +02:00
|
|
|
* Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
|
2018-09-25 17:55:35 +02:00
|
|
|
* Copyright 2011-${year} ${pkg.author}
|
2020-06-17 07:32:42 +02:00
|
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
2018-09-25 17:55:35 +02:00
|
|
|
*/`
|
|
|
|
}
|
2018-09-26 09:54:46 +02:00
|
|
|
|
|
|
|
module.exports = getBanner
|