Better banner

This commit is contained in:
syuilo 2017-06-07 02:22:03 +09:00
parent 3e6997c34e
commit 1f17d7db20

View file

@ -1,9 +1,10 @@
import * as os from 'os';
import * as webpack from 'webpack'; import * as webpack from 'webpack';
export default version => new webpack.BannerPlugin({ export default version => new webpack.BannerPlugin({
banner: banner:
`Misskey v${version} | MIT Licensed, (c) syuilo 2014-2017\n` + `Misskey v${version} | MIT Licensed, (c) syuilo 2014-2017\n` +
'https://github.com/syuilo/misskey\n' + 'https://github.com/syuilo/misskey\n' +
`built at ${new Date()}\n` + `built by ${os.hostname()} at ${new Date()}\n` +
'hash:[hash], chunkhash:[chunkhash]' 'hash:[hash], chunkhash:[chunkhash]'
}); });