Commit 59803b1
committed
fix(@angular/build): use rootDir for HMR component updates path resolution
Use `compilerOptions.rootDir` when calculating the relative path for HMR component updates, falling back to the current directory if not set. This ensures correct path resolution when `rootDir` is configured in `tsconfig`.
Closes #33005 and closes #329981 parent cf5b49e commit 59803b1
File tree
1 file changed
+4
-1
lines changed- packages/angular/build/src/tools/angular/compilation
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| |||
0 commit comments