What problem does it solve? Setting up TanStack Router's file-based routing requires correctly configuring a bundler plugin across Vite, Webpack, Rspack, or esbuild, and mistakes like wrong plugin order or missing target framework cause route generation and code splitting to fail silently. ## Core Features & Use Cases - Multi-Bundler Setup: Provides ready-to-use configuration for Vite, Webpack, Rspack, and esbuild via the unplugin-based @tanstack/router-plugin package. - Automatic Code Splitting: Configures autoCodeSplitting with default and per-route split behaviors so route components, loaders, and error boundaries are split into lazy-loaded chunks without manual lazy route calls. - Route Generation Control: Covers routesDirectory, generatedRouteTree, file naming conventions (indexToken, routeToken, ignore prefixes), and virtual route config options. - Use Case: You are adding TanStack Router to a Vite + React project and need the plugin placed before react() in the config, autoCodeSplitting enabled, and a custom split behavior for your dashboard route. ## Quick Start Set up the TanStack Router plugin in my Vite config with React target and automatic code splitting enabled.