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
An option in app.config.ts to disable code splitting. Only a single JS file would be emitted in this case instead of splitting on route.
Examples 🌈
No response
Motivation 🔦
I am mangling property names with terser but because every page has its own bundle, the property names are not consistent between chunks causing breakage
The text was updated successfully, but these errors were encountered:
thanks for that @huseeiin . I agree there's a scenario where disabling lazy routes can be the same as serving a single-bundle.
But perhaps not necessarily. I see some usage/situations where not lazy-loading routes (or some routes) may not lead to everything in the same bundle.
but, @par5er we're currently revisiting our bundling architecture, so I'll put a hold on this one, I'm hoping in the future our configuration can be extensible enough that, perhaps, what you want can be entirely achieved in user-land.
thanks for that @huseeiin . I agree there's a scenario where disabling lazy routes can be the same as serving a single-bundle. But perhaps not necessarily. I see some usage/situations where not lazy-loading routes (or some routes) may not lead to everything in the same bundle.
but, @par5er we're currently revisiting our bundling architecture, so I'll put a hold on this one, I'm hoping in the future our configuration can be extensible enough that, perhaps, what you want can be entirely achieved in user-land.
ideally you'd choose whether to lazily or eagerly load each route
Duplicates
Latest version
Summary 💡
An option in
app.config.ts
to disable code splitting. Only a single JS file would be emitted in this case instead of splitting on route.Examples 🌈
No response
Motivation 🔦
I am mangling property names with terser but because every page has its own bundle, the property names are not consistent between chunks causing breakage
The text was updated successfully, but these errors were encountered: