mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
11721509b0
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.
6 lines
143 B
JSON
6 lines
143 B
JSON
{
|
|
"dist/browser/main-[hash].js": 232419,
|
|
"dist/browser/polyfills-[hash].js": 35726,
|
|
"dist/browser/event-dispatch-contract.min.js": 476
|
|
}
|