1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-04 09:48:34 +09:00
MisskeyIO/webpack/plugins/banner.ts
2017-06-07 00:10:01 +09:00

10 lines
280 B
TypeScript

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 at ${new Date()}\n` +
'hash:[hash], chunkhash:[chunkhash]'
});