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:
authorXhmikosR <xhmikosr@gmail.com>2018-12-13 14:14:49 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-12-14 01:34:38 +0300
commita074cb66d74b0ad696d3ab74d2d23b78a141cf2c (patch)
treebe840a4422496d711a1dbc60b1e5601ffeb6698d /build/banner.js
parentc031584bcde710841ef4324558f40242080c53a9 (diff)
Make use of the package.json `version_short` property more.
Diffstat (limited to 'build/banner.js')
-rw-r--r--build/banner.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/banner.js b/build/banner.js
index 9151178378..453fc3b6e0 100644
--- a/build/banner.js
+++ b/build/banner.js
@@ -1,8 +1,7 @@
'use strict'
-const path = require('path')
-const pkg = require(path.resolve(__dirname, '../package.json'))
-const year = new Date().getFullYear()
+const pkg = require('../package.json')
+const year = new Date().getFullYear()
function getBanner(pluginFilename) {
return `/*!