Browse Source

chore: 更新下banner

es6
iapyang 2 years ago
parent
commit
d192b160cc
  1. 2
      webpack/webpack.prod.js

2
webpack/webpack.prod.js

@ -73,7 +73,7 @@ module.exports = merge.smart(common, {
}), }),
new webpack.BannerPlugin({ new webpack.BannerPlugin({
banner: `time: ${new Date().toLocaleString()}; branch: ${git( banner: `time: ${new Date().toLocaleString()}; branch: ${git(
'rev-parse --abbrev-ref HEAD' 'name-rev --name-only HEAD'
)} commit: ${git( )} commit: ${git(
'rev-parse HEAD' 'rev-parse HEAD'
)}` )}`

Loading…
Cancel
Save