From 1f17d7db203c2ba1529f99e8c01fb05738eca338 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 7 Jun 2017 02:22:03 +0900 Subject: [PATCH] Better banner --- webpack/plugins/banner.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack/plugins/banner.ts b/webpack/plugins/banner.ts index 83c1353d6..47b8cd355 100644 --- a/webpack/plugins/banner.ts +++ b/webpack/plugins/banner.ts @@ -1,9 +1,10 @@ +import * as os from 'os'; import * as webpack from 'webpack'; export default version => new webpack.BannerPlugin({ banner: `Misskey v${version} | MIT Licensed, (c) syuilo 2014-2017\n` + 'https://github.com/syuilo/misskey\n' + - `built at ${new Date()}\n` + + `built by ${os.hostname()} at ${new Date()}\n` + 'hash:[hash], chunkhash:[chunkhash]' });