Skip to content

Commit 42b0cb7

Browse files
committed
Vite target 'baseline-widely-available'
1 parent cd6f511 commit 42b0cb7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vite.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ export default defineConfig(({ mode }) => {
102102
},
103103
build: {
104104
sourcemap: mode !== 'production',
105-
// Use default browser compatibility for ECMAScript syntax as it's
106-
// good enough:
107-
target: 'modules',
105+
target: 'baseline-widely-available',
108106
rollupOptions: {
109107
// Workaround https://github.com/vitejs/vite/issues/19410:
110108
maxParallelFileOps: 100,

0 commit comments

Comments
 (0)