File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Top-level await requires ES2022 (at least) as target and module
3
- * for TypeScript compiler (check tsconfig.json)
4
- * https://caniuse.com/mdn-javascript_operators_await_top_level
2
+ * These features are used across the codebase and requires specific
3
+ * ECMAScript versions as target in TypeScript compiler (check tsconfig.json):
4
+ * - Top-level: ES2022 https://caniuse.com/mdn-javascript_operators_await_top_level
5
+ * - Object.groupBy: ES2024 https://caniuse.com/mdn-javascript_builtins_object_groupby
5
6
*/
6
7
import { createApp } from 'vue' ;
7
8
import { routes } from 'vue-router/auto-routes' ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default defineConfig({
73
73
/**
74
74
* See main.ts for an explanation of this target
75
75
*/
76
- target : 'esnext ' ,
76
+ target : 'es2024 ' ,
77
77
cssCodeSplit : true ,
78
78
cssMinify : 'lightningcss' ,
79
79
modulePreload : false ,
You can’t perform that action at this time.
0 commit comments