TanStackT
TanStack2y ago
3 replies
sad-indigo

Performance issue with Vite plugin on windows

Hey Tanstack Router Community,
I am facing a weird perf issue with the vite plugin. I have a small app with aroud 6 routes implemented using file based routing and the plugin generates the routes for me in around 300 - 500ms(I am on mac). But for my other team members using windows it is takes upwards of 10seconds. Any idea why that might be happening?
Also wanted to understand what is the recommended practice for the routeTree.gen.ts file, should it be committed to remote or not since it will anyway be generated during the build process.
Was this page helpful?