https://github.com/twbs/bootstrap
Raw File
Tip revision: 593574d510050dc2d5eeafe70a58ae182f020480 authored by XhmikosR on 26 November 2019, 17:12:00 UTC
Release v4.4.0 (#29735)
Tip revision: 593574d
banner.js
'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/master/LICENSE)
  */`
}

module.exports = getBanner
back to top