1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 06:21:26 +02:00

Make use of the package.json version_short property more.

This commit is contained in:
XhmikosR
2018-12-13 13:14:49 +02:00
parent c031584bcd
commit a074cb66d7
4 changed files with 10 additions and 7 deletions

View File

@@ -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 `/*!