Commit a138797
committed
fix(@angular/build): pass process environment variables to prerender workers
Worker processes used for prerendering and route extraction now inherit `process.env`. This ensures that any custom environment variables required
by the application are available during the server-side rendering process.
Closes #327301 parent a09f27a commit a138797
File tree
1 file changed
+2
-0
lines changed- packages/angular/build/src/utils/server-rendering
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| 347 | + | |
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| |||
0 commit comments