mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-02 08:50:06 +09:00
Add banner into built script files
This commit is contained in:
6
webpack/plugins/banner.ts
Normal file
6
webpack/plugins/banner.ts
Normal file
@ -0,0 +1,6 @@
|
||||
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]`
|
||||
});
|
Reference in New Issue
Block a user