T
TanStack3mo ago
ratty-blush

Does Start let one modify codeSplittingOptions in the router config?

Our app has > 100 routes and hundreds of components. It seems like the default behavior of Start's code-splitting leads to hundreds of requests during route loading. I'm curious to try different options or if they're intentionally not available then to try a recommended approach
2 Replies
frail-apricot
frail-apricot3mo ago
what do you mean here? code splitting means that only the currently matched routes are loaded separately are you seeing this in dev? then that's coming from vite most likely
ratty-blush
ratty-blushOP3mo ago
ah thanks. i looked into how the codesplitting works in start more and i misunderstood something.

Did you find this page helpful?