Update to Vite 7 (#35598)

This commit is contained in:
Renaud Chaput
2025-08-11 14:35:36 +02:00
committed by GitHub
parent bf15b1d65d
commit 379f12ea00
3 changed files with 552 additions and 545 deletions

View File

@@ -73,6 +73,7 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => {
port: 3036,
},
build: {
target: 'modules',
commonjsOptions: { transformMixedEsModules: true },
chunkSizeWarningLimit: 1 * 1024 * 1024, // 1MB
sourcemap: true,