Skip to content

Commit d9ecf13

Browse files
authored
Workaround vite rebuild bug (#2070)
1 parent a8a6711 commit d9ecf13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vite.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ export default defineConfig(({ mode }) => {
101101
// Use default browser compatibility for ECMAScript syntax as it's
102102
// good enough:
103103
target: 'modules',
104+
rollupOptions: {
105+
// Workaround https://github.com/vitejs/vite/issues/19410:
106+
maxParallelFileOps: 100,
107+
},
104108
},
105109
css: {
106110
preprocessorOptions: {

0 commit comments

Comments
 (0)