Commit ba51e72
committed
fix(@angular/build): use component updates for component style HMR
The newly stable template HMR support has also been improved to support hot
replacement of component stylesheets. While this is not as fast during a rebuild
as external stylesheet based HMR, it does currently avoid some edge cases with
the current implementation. Once these cases are resolved, the default may
be reverted to the previous setup.
If the previous behavior is preferred, the `NG_HMR_CSTYLES=1` environment
variable can be used.1 parent 134f5fe commit ba51e72
File tree
2 files changed
+2
-2
lines changed- packages/angular/build/src
- builders/dev-server
- utils
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments