From 8fbf7300a8dcd09040856dc22398e889391c326e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 18 May 2025 17:00:07 +0300 Subject: [PATCH] Enable lazy route discovery future flag Note: this emits a warning right now but it's considered a false positive presumably removed in RR7 https://github.com/remix-run/react-router/issues/12439#issuecomment-2523481122 --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index e703eea9e..e8218bf20 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig(() => { v3_relativeSplatPath: true, v3_throwAbortReason: true, v3_routeConfig: true, + v3_lazyRouteDiscovery: true, }, }), babel({