Code split on route definition files #40
Labels
cli
Issue that's about the CLI.
enhancement
New feature or request
future
Something not likely to be done right now, but rather in the future.
Currently, each route renderer is code split, but the infra that loads each route is always emitted in one single file. This means that while we don't pay bundle costs for route renderers and how much code each route loads, we're still paying costs for every route we add, whether it's used or not.
I'd like to experiment with code splitting on route definition files. If this works out, it means we can replicate the "multiple entry points" pattern (like having a single app that has an admin section baked in for example) with very little bundle size cost. Which would be cool!
The text was updated successfully, but these errors were encountered: