Commit 5078c8b
committed
refactor(@angular/build): use
The internal `ngHmrMode` define value was previously available to application
code and third-party modules that were not prebundled. To ensure that the
value is propagated to all relevant code served by the development server,
the `ngHmrMode` define is now used during the Vite prebundling phase. This
allows any prebundled dependencies to also leverage the `ngHmrMode` value.
The framework may, for instance, use the value to provide additional development
time diagnostics.ngHmrMode define for Vite prebundling1 parent 4121c8f commit 5078c8b
File tree
1 file changed
+4
-1
lines changed- packages/angular/build/src/builders/dev-server
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
| |||
0 commit comments