mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 17:23:08 +02:00
10 lines
326 B
TypeScript
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-2017\n` +
|
|
'https://github.com/syuilo/misskey\n' +
|
|
`built by ${os.hostname()} at ${new Date()}\n` +
|
|
'hash:[hash], chunkhash:[chunkhash]'
|
|
});
|