#4277 fixed the bundle drift and made the build start on Windows by
running `npx esbuild` with `shell: true` when process.platform is
win32. That branch ignores ESBUILD, so a Windows --check doesn't use
the esbuild version CI pins, and it hands the file paths to cmd.exe
unquoted.
Replace the branch with one path for every OS: ESBUILD, when set, is
still run directly as an executable (CI, the plugin READMEs and
codex-mod-hooks.test.mjs rely on it); without it the repo's own
esbuild is loaded through its JS API (buildSync), as
plugins/ruflo-console/scripts/build-tui.mjs already does. No shell,
no .bin shim. Bundles are unchanged.
Co-Authored-By: RuFlo <ruv@ruv.net>