summaryrefslogtreecommitdiff
path: root/webpack/plugins
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 02:22:03 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 02:22:03 +0900
commit1f17d7db203c2ba1529f99e8c01fb05738eca338 (patch)
treea81f302b9e82ac45b423272ad5191b84ac8b357c /webpack/plugins
parentRefactor (diff)
downloadsharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.tar.gz
sharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.tar.bz2
sharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.zip
Better banner
Diffstat (limited to 'webpack/plugins')
-rw-r--r--webpack/plugins/banner.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack/plugins/banner.ts b/webpack/plugins/banner.ts
index 83c1353d62..47b8cd3555 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]'
});