mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
ebc220754b
By implementing the same approach of rollup.config.js and replicate it in build-plugins.js, individual plugins will display license headers.
12 lines
357 B
JavaScript
12 lines
357 B
JavaScript
const path = require('path')
|
|
const pkg = require(path.resolve(__dirname, '../package.json'))
|
|
const year = new Date().getFullYear()
|
|
|
|
module.exports = function () {
|
|
return `/*!
|
|
* Bootstrap v${pkg.version} (${pkg.homepage})
|
|
* Copyright 2011-${year} ${pkg.author}
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
*/`
|
|
}
|