1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-27 21:18:05 +09:00
hotomoe/webpack/plugins/banner.ts
2017-06-07 02:22:03 +09:00

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