Better banner
This commit is contained in:
parent
3e6997c34e
commit
1f17d7db20
|
@ -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]'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue