Better banner
This commit is contained in:
		
							parent
							
								
									3e6997c34e
								
							
						
					
					
						commit
						1f17d7db20
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,10 @@
 | 
			
		|||
import * as os from 'os';
 | 
			
		||||
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` +
 | 
			
		||||
		`built by ${os.hostname()} at ${new Date()}\n` +
 | 
			
		||||
		'hash:[hash], chunkhash:[chunkhash]'
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue