From 16b113f7eb0cd1c8bf7a89f702da0262e0417827 Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Tue, 28 Oct 2025 09:15:54 +0000 Subject: [PATCH] fix: dependency issue --- vite.config.mjs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/vite.config.mjs b/vite.config.mjs index 28792e27..e4de6be3 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -102,17 +102,7 @@ export default defineConfig(({ command, mode }) => { sourcemap: !isProd, rollupOptions: { output: { - manualChunks(id) { - if (id.includes('node_modules')) { - if (id.includes('@mui')) { - return 'vendor_mui'; - } - if (id.includes('react') || id.includes('react-dom')) { - return 'vendor_react'; - } - return 'vendor'; - } - }, + manualChunks: undefined, // Let Vite handle chunking automatically to avoid circular dependency issues }, }, },