1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-02-23 10:47:31 -06:00
paricafe/webpack/plugins/banner.ts
2018-01-01 00:02:58 +09:00

10 lines
326 B
TypeScript

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-2018\n` +
'https://github.com/syuilo/misskey\n' +
`built by ${os.hostname()} at ${new Date()}\n` +
'hash:[hash], chunkhash:[chunkhash]'
});