diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-12-13 14:14:49 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-12-14 01:34:38 +0300 |
commit | a074cb66d74b0ad696d3ab74d2d23b78a141cf2c (patch) | |
tree | be840a4422496d711a1dbc60b1e5601ffeb6698d /build/banner.js | |
parent | c031584bcde710841ef4324558f40242080c53a9 (diff) |
Make use of the package.json `version_short` property more.
Diffstat (limited to 'build/banner.js')
-rw-r--r-- | build/banner.js | 5 |
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 `/*! |