Skip to content

Commit 868dbc8

Browse files
committed
feat: set build target to ES2022 in vite.config.ts
1 parent 2fecb3b commit 868dbc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export default defineConfig((conf: any) => {
101101
},
102102
build: {
103103
outDir: `dist${ENV.VITE_BASE_PATH}`,
104+
target: 'es2022',
104105
rollupOptions: {
105106
input: ENV.VITE_ENTRY,
106107
},

0 commit comments

Comments
 (0)