Commit 0fd6823
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 93a6f36 commit 0fd6823
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 | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
0 commit comments