summaryrefslogtreecommitdiff
path: root/webpack/plugins/banner.ts
blob: 83c1353d62c5ce13fd5d2c06a14727a0bad7372d (plain)
1
2
3
4
5
6
7
8
9
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]'
});