-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit d4ee360
fix(@angular/build): keep background referenced HMR update chunks
When HMR is enabled and a component update is sent to the development server,
the following background incremental update will no longer remove the previous
JavaScript chunk files for lazy routes. This allows the active and running
application code within the browser to still access the lazy chunks referenced
in the code. This is important for cases such as when a component in a lazy
route (that has not yet been accessed) is modified. In this case, the component
update is still processed if/when the lazy route is eventually accessed via the
module-time evaluation of the component update code.1 parent cae068b commit d4ee360
File tree
1 file changed
+9
-0
lines changed- packages/angular/build/src/builders/application
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
361 | + | ||
362 | + | ||
363 | + | ||
364 | + | ||
365 | + | ||
366 | + | ||
367 | + | ||
368 | + | ||
369 | + | ||
361 | 370 |
| |
362 | 371 |
| |
363 | 372 |
| |
|
0 commit comments