Better banner
This commit is contained in:
		
							parent
							
								
									927fcb9e4d
								
							
						
					
					
						commit
						2e3a8d4e36
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,9 @@
 | 
			
		|||
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]`
 | 
			
		||||
	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]'
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue