The placeholder renders, the content arrives on the trigger.
The code never left the main bundle.
the only difference
@if (inline) { <app-heavy /> }
a branch that never runs
WITHOUT THAT LINE
Initial chunk files Raw size
chunk-JCHQFIYN.js 105.63 kB
main.js 13.24 kB
styles.css 105 bytes
Initial total 118.97 kB
Lazy chunk files Raw size
chunk-ZJ2XSIL6.js 66.24 kB
the component ships lazily
WITH THAT LINE
Initial chunk files Raw size
main.js 185.16 kB
styles.css 105 bytes
Initial total 185.27 kB
no lazy chunk files
the component ships eagerly
and nothing says so
no compiler warning, no CLI warning, 66.30 kB moved into the initial bundle, and the browser behaves the same either way