Where? bun's doc site search engine doesn't show it but there's an open PR on the topic.
https://github.com/oven-sh/bun/issues/26373
Doc site says: --production sets flag --minify, process.env.NODE_ENV = production, and production-mode JSX import & transform
Might try:
bun build --compile --production --bytecode --outfile myapp app.ts
D'oh, it wasn't the doc site. I was lazy:
I actually did double check it though because it used to be wrong. For good measure: