Sharkey/webpack/plugins/banner.ts

7 lines
272 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({
banner: `Misskey v${version} - built at ${new Date()} | (c) syuilo 2014-2017
hash:[hash], chunkhash:[chunkhash], name:[name], filebase:[filebase], query:[query], file:[file]`
});