Commit a56c55c
committed
fix(@angular/build): invalidate component template updates with dev-server SSR
To ensure that the Vite-based dev-server SSR uses updated component template update
modules, the server module graph is invalidated when component updates are sent.
This currently does a full invalidation but in the future this could potentially be
optimized to only update the relevant modules. A fix is also present to correct the
component update identifier usage to prevent lookup misses.1 parent d5ea0f1 commit a56c55c
File tree
2 files changed
+13
-1
lines changed- packages/angular/build/src
- builders/dev-server
- tools/vite/plugins
2 files changed
+13
-1
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
236 | 242 | | |
237 | 243 | | |
238 | 244 | | |
| |||
256 | 262 | | |
257 | 263 | | |
258 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
259 | 271 | | |
260 | 272 | | |
261 | 273 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments