parent
							
								
									e60294b950
								
							
						
					
					
						commit
						7330e7499a
					
				| 
						 | 
				
			
			@ -38,6 +38,7 @@ const context = await esbuild.context({
 | 
			
		|||
	sourcemap: prod ? false : "inline",
 | 
			
		||||
	treeShaking: true,
 | 
			
		||||
	outfile: "main.js",
 | 
			
		||||
	minify: prod,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
if (prod) {
 | 
			
		||||
| 
						 | 
				
			
			@ -45,4 +46,4 @@ if (prod) {
 | 
			
		|||
	process.exit(0);
 | 
			
		||||
} else {
 | 
			
		||||
	await context.watch();
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue