Commit 4480078
Yuan Huang
fix: force process.exit(0) after webpack build to prevent Node.js 20 hang
webpack 3.12.0 leaves open handles (internal timers/fs watchers) under
Node.js 20, causing the process to never exit naturally after a
successful build. The container hangs, docker run waits forever, and
the InfraBox job hits the 1-hour timeout.
The failure path already calls process.exit(1) explicitly; mirror that
for the success path with process.exit(0).
Root cause introduced by 34ade8f (node:8.9 -> node:20-alpine upgrade).1 parent e0c29f2 commit 4480078
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
0 commit comments