diff --git a/packages/web/vite.config.ts b/packages/web/vite.config.ts index c3479cb..6153961 100644 --- a/packages/web/vite.config.ts +++ b/packages/web/vite.config.ts @@ -4,7 +4,7 @@ import { TanStackRouterVite } from "@tanstack/router-plugin/vite"; import react from "@vitejs/plugin-react"; export default defineConfig({ - plugins: [TanStackRouterVite(), react()], + plugins: [TanStackRouterVite({ autoCodeSplitting: true }), react()], resolve: { alias: { "@": path.resolve(__dirname, "./src"),