From d192b160cc2c8bf5a9dcabb9a932eaf80adc75e9 Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 9 Aug 2022 15:51:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E4=B8=8Bbanner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack/webpack.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index 89b7f18c8..a48a8c17f 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -73,7 +73,7 @@ module.exports = merge.smart(common, { }), new webpack.BannerPlugin({ banner: `time: ${new Date().toLocaleString()}; branch: ${git( - 'rev-parse --abbrev-ref HEAD' + 'name-rev --name-only HEAD' )} commit: ${git( 'rev-parse HEAD' )}`