Skip to content

fix(@angular/ssr): avoid preloading unnecessary dynamic bundles #30560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alan-agius4
Copy link
Collaborator

This change to @angular/ssr prevents the preloading of dynamically imported bundles that aren't directly associated with routing.

Previously, Angular SSR might preload all dynamic bundles, even those not immediately required, such as deferred chunks within components.

Closes #30541

This change to `@angular/ssr` prevents the preloading of dynamically imported bundles that aren't directly associated with routing.

Previously, Angular SSR might preload all dynamic bundles, even those not immediately required, such as deferred chunks within components.

Closes angular#30541
@alan-agius4 alan-agius4 requested a review from dgp1130 June 19, 2025 07:28
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/ssr target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Defer chunks being preloaded when they should not be
1 participant