You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
V2: No supported way to exclude prerendered routes from the server bundle #8741
I prerender a large content section (a few hundred MDX pages) and deploy to a single-artifact edge runtime. The prerendered HTML is served from KV and those routes never run on the server, but their compiled components are still bundled into the server build, which blows the binary size limit.
ssg.include only controls what gets prerendered, but it does not remove those routes from the generated route table (@qwik-router-config), which statically imports every route in routesDir.
Is there a supported way to keep a static-only route out of the server bundle? createRoutes and generateQwikRouterConfig in the router vite plugin emit import() for every route with no exclusion. The SSG step prerenders HTML and injects the static paths array but never prunes the table.
Activity