Open
Description
Command
run
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19
Description
It seems that regular defer triggers are being prefetched despite not having prefetch on
or prefetch when
trigger. This was reported by one of our GDEs. This did work in past versions of Angular. So something must have changed with how these files are being bundled and inlined.
Minimal Reproduction
Minimal repro: https://stackblitz.com/~/github.com/AhsanAyaz/ng-defer-bundle-preload-example?file=src/app/app.html:L338
While running, you can view the SSR page source and see the files listed as modulepreload
.
Exception or Error
Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 20.0.2
Node: 20.19.1
Package Manager: npm 10.8.2
OS: linux x64
Angular: 20.0.3
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-server, router
Package Version
------------------------------------------------------
@angular-devkit/architect 0.2000.2
@angular-devkit/core 20.0.2
@angular-devkit/schematics 20.0.2
@angular/build 20.0.2
@angular/cli 20.0.2
@angular/ssr 20.0.2
@schematics/angular 20.0.2
rxjs 7.8.2
typescript 5.8.3
zone.js 0.15.1
Anything else relevant?
No response