mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Pass es2020 to esbuild-loader as well (#29027)
Followup https://github.com/go-gitea/gitea/pull/28977. I forgot to pass the updated option to esbuild-loader, e.g. previously it was only passed to the minifier.
This commit is contained in:
		| @@ -135,7 +135,7 @@ export default { | |||||||
|             loader: 'esbuild-loader', |             loader: 'esbuild-loader', | ||||||
|             options: { |             options: { | ||||||
|               loader: 'js', |               loader: 'js', | ||||||
|               target: 'es2015', |               target: 'es2020', | ||||||
|             }, |             }, | ||||||
|           }, |           }, | ||||||
|         ], |         ], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user