logoalt Hacker News

jakegmathsyesterday at 3:00 PM9 repliesview on HN

I think this is ultimately caused by a Bun bug which I reported, which means source maps are exposed in production: https://github.com/oven-sh/bun/issues/28001

Claude code uses (and Anthropic owns) Bun, so my guess is they're doing a production build, expecting it not to output source maps, but it is.


Replies

190nyesterday at 5:22 PM

It could be because of a Bun bug, but I don't think it's because of that one. It's a duplicate of a year-old issue, and it's specific to Bun.serve.

show 1 reply
staredyesterday at 6:34 PM

Were source maps needed? Reverse engineering got easy with GPT-4.2-Codex and Opus 4.6 - even from raw binaries https://quesma.com/blog/chromatron-recompiled/

jakegmathsyesterday at 6:57 PM

My apologies, this isn't the cause. Bun build doesn't suffer from this bug.

show 1 reply
dimglyesterday at 6:25 PM

I doubt it's this. This was an `npm` misconfiguration.

lanbinyesterday at 4:07 PM

Open Claude Code?

Better than OpenCode and Codex

show 3 replies
cute_boiyesterday at 6:25 PM

I don’t think that’s the reason, but using Bun for production this early is a bad idea. It’s still too buggy, and compromising stability for a 2–3% performance gain just isn’t worth it.

show 1 reply
game_the0ryyesterday at 3:38 PM

[flagged]