Files
bun.sh/src
Claude Bot f2b344dfd1 feat: enable DCE for process.isBun when target is bun
When bundling with --target=bun, process.isBun is now replaced with the literal value `true`, enabling dead code elimination for conditional code paths. This provides an easy way to write Bun-specific code that gets optimized away during bundling.

Example:
```js
if (process.isBun) {
  // This code is kept when --target=bun
  bunSpecificLogic();
} else {
  // This code is eliminated when --target=bun
  nodeSpecificLogic();
}
```

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 17:40:35 +00:00
..
2025-09-09 20:41:10 -07:00
2025-09-11 17:53:06 -07:00
2025-09-13 14:52:19 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-13 14:52:19 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-13 14:52:19 -07:00
2025-09-09 23:31:07 -07:00
2025-07-21 13:26:47 -07:00
2025-07-29 19:35:46 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 20:41:10 -07:00
2025-09-04 18:06:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-11 23:29:53 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-03 15:40:44 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00