aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/build/banner.js
blob: a022f1c4857014559e444ff841e6a9c2ad660dfd (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                      
 





                                                                                            
                                                                            



                          
'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