mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates `@defer` logic related to incremental hydration to be tree-shakable. If hydrate triggers are used in a `@defer` block, the compiler emits a single top-level call to `ɵɵenableIncrementalHydrationRuntime`, placed once per create block before the first `ɵɵdefer` that requires it. As a result, the incremental hydration runtime is only included in the bundle when hydrate is explicitly used.
5 lines
143 B
JSON
5 lines
143 B
JSON
{
|
|
"dist/browser/main-[hash].js": 232419,
|
|
"dist/browser/polyfills-[hash].js": 35726,
|
|
"dist/browser/event-dispatch-contract.min.js": 476
|
|
}
|