mirror of
				https://github.com/redphx/better-xcloud.git
				synced 2025-11-03 23:44:05 +01:00 
			
		
		
		
	Minify syntax in dist file
This commit is contained in:
		
							
								
								
									
										3
									
								
								build.ts
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								build.ts
									
									
									
									
									
								
							@@ -45,6 +45,9 @@ const build = async (target: BuildTarget, version: string, config: any={}) => {
 | 
			
		||||
		entrypoints: ['src/index.ts'],
 | 
			
		||||
		outdir: outDir,
 | 
			
		||||
		naming: outputScriptName,
 | 
			
		||||
		minify: {
 | 
			
		||||
			syntax: true,
 | 
			
		||||
		},
 | 
			
		||||
		define: {
 | 
			
		||||
			'Bun.env.BUILD_TARGET': JSON.stringify(target),
 | 
			
		||||
			'Bun.env.SCRIPT_VERSION': JSON.stringify(version),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user