diff --git a/aimenet-web/vite.config.ts b/aimenet-web/vite.config.ts index d9880df..78f5e77 100644 --- a/aimenet-web/vite.config.ts +++ b/aimenet-web/vite.config.ts @@ -10,4 +10,15 @@ export default defineConfig({ "@": path.resolve(__dirname, "./src"), }, }, + build: { + rollupOptions: { + output: { + manualChunks(id: string) { + if (id.includes('react')) { + return 'react'; + } + } + } + } + } })