Skip to content

Commit

Permalink
update esbuild version (#3726)
Browse files Browse the repository at this point in the history
Co-authored-by: chenwei.lu <[email protected]>
  • Loading branch information
LucaXD-china and chenwei.lu authored May 28, 2024
1 parent 3448cf0 commit 10f9c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default async ({ command, mode }: ConfigEnv): Promise<UserConfig> => {
pure: VITE_DROP_CONSOLE ? ['console.log', 'debugger'] : [],
},
build: {
target: 'es2015',
target: 'es2018',
cssTarget: 'chrome80',
outDir: OUTPUT_DIR,
// Turning off brotliSize display can slightly reduce packaging time
Expand Down

0 comments on commit 10f9c53

Please sign in to comment.