{"version":"2.1.242","anchor":"claude-code-legacy-bundle-restores-the-old-non-split-bundle-","canonical_anchor":"claude-code-legacy-bundle-restores-the-old-non-split-bundle-","heading":"CLAUDE_CODE_LEGACY_BUNDLE restores the old non-split bundle shape","tier":"use","area":"Bundle","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/claude-code-legacy-bundle-restores-the-old-non-split-bundle-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### CLAUDE_CODE_LEGACY_BUNDLE restores the old non-split bundle shape\n\nSet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape.\n\n**What**\n\nThe 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.\n\n**Details**\n\n- The variable was added to the allowlist of environment variables forwarded to and inspected in child processes, next to `CLAUDE_CODE_DIR_SYNC_ENGINE` and `CLAUDE_CODE_DIR_SYNC_FFWD`.\n- 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.\n\n**Evidence**\n\n`CLAUDE_CODE_LEGACY_BUNDLE`, `startEventLoopStallDetector`\n\n- Area: Bundle\n- Names: `CLAUDE_CODE_LEGACY_BUNDLE`, `CLAUDE_CODE_DIR_SYNC_ENGINE`, `CLAUDE_CODE_DIR_SYNC_FFWD`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}