Better banner

This commit is contained in:
syuilo 2017-06-07 00:10:01 +09:00
parent 2d86a53487
commit 32f3e4845c

View file

@ -1,6 +1,9 @@
import * as webpack from 'webpack';
export default version => new webpack.BannerPlugin({
banner: `Misskey v${version} - built at ${new Date()} | (c) syuilo 2014-2017
hash:[hash], chunkhash:[chunkhash], name:[name], filebase:[filebase], query:[query], file:[file]`
banner:
`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]'
});