diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-06-07 02:22:03 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-06-07 02:22:03 +0900 |
| commit | 1f17d7db203c2ba1529f99e8c01fb05738eca338 (patch) | |
| tree | a81f302b9e82ac45b423272ad5191b84ac8b357c /webpack/plugins | |
| parent | Refactor (diff) | |
| download | sharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.tar.gz sharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.tar.bz2 sharkey-1f17d7db203c2ba1529f99e8c01fb05738eca338.zip | |
Better banner
Diffstat (limited to 'webpack/plugins')
| -rw-r--r-- | webpack/plugins/banner.ts | 3 |
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]' }); |