You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build): fix runtime bugs in build scripts (#1148)
- Fix plugin ordering in esbuild.cli.build.mjs: envVarReplacementPlugin
was running before unicodeTransformPlugin despite comment saying after.
Swap order so unicode transform runs first.
- Fix watch mode crash in build.mjs: watchResult?.code can be undefined
when spawn returns null. Add null check and fallback ?? 1.
- Fix allSettled pattern in build.mjs post-processing: Promise.all
swallows individual rejections. Switch to Promise.allSettled with
proper rejection detection.
- Fix allSettled pattern in download-assets.mjs: same Promise.all issue,
now uses Promise.allSettled with r.status === 'rejected' check.
- Fix allSettled pattern in download-iocraft-binaries.mjs: same fix.
- Fix createBuildRunner in esbuild-shared.mjs: catch block never
rethrew, so callers using allSettled could not detect failures.
- Remove dead script entries from cli/package.json (e2e:smol,
build:sea:internal:bootstrap, publish:sea).
0 commit comments