Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/banner.js')
-rw-r--r--build/banner.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/banner.js b/build/banner.js
new file mode 100644
index 0000000000..4c66589f09
--- /dev/null
+++ b/build/banner.js
@@ -0,0 +1,11 @@
+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)
+ */`
+}