misskey/webpack/plugins/banner.ts

10 lines
280 B
TypeScript
Raw Normal View History

2017-05-24 21:54:31 -07:00
import * as webpack from 'webpack';
export default version => new webpack.BannerPlugin({
2017-06-06 08:10:01 -07:00
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]'
2017-05-24 21:54:31 -07:00
});