aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build/banner.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/build/banner.js')
-rw-r--r--vendor/twbs/bootstrap/build/banner.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/build/banner.js b/vendor/twbs/bootstrap/build/banner.js
new file mode 100644
index 000000000..453fc3b6e
--- /dev/null
+++ b/vendor/twbs/bootstrap/build/banner.js
@@ -0,0 +1,14 @@
+'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