Landing page downloads large bundle
I've migrated an app from Next.js to TanStack Start. The app has a simple landing page and a large (1MB+) admin dashboard. Even though my landing page route doesn't import any admin code, it's still loading the entire admin bundle (=main bundle) on initial visit.
What is the idiomatic way in TanStack Start to ensure the large admin bundle is only loaded when a user navigates to the protected /admin route? I'm on file routes and enabled auto code splitting already.
What is the idiomatic way in TanStack Start to ensure the large admin bundle is only loaded when a user navigates to the protected /admin route? I'm on file routes and enabled auto code splitting already.