Better banner

This commit is contained in:
syuilo 2017-06-07 00:10:01 +09:00
parent 927fcb9e4d
commit 2e3a8d4e36

View file

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