Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape.
What's wrong with this entry?
The re-bundle that turned deferred loads into real dynamic imports comes with an opt-out: set CLAUDE_CODE_LEGACY_BUNDLE to true to get the old shape. It must be truthy, so unset means everyone gets the chunked build.
- The variable was added to the allowlist of environment variables forwarded to and inspected in child processes, next to
CLAUDE_CODE_DIR_SYNC_ENGINEandCLAUDE_CODE_DIR_SYNC_FFWD. - Paths moved out of the main bundle include the event-loop stall detector and Google auth; much of the surrounding diff is renaming churn from the same re-bundle.
CLAUDE_CODE_LEGACY_BUNDLE, startEventLoopStallDetector
Strings lifted out of the shipped bundle, so the claim above can be checked against them.