1 person reported

All time, since Aug 25.

Production build skips minification

“Option --production should enable minification”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/5711/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Production build option does not enable minification. Both production: true in the build API and the CLI --production flag skip minify, despite documentation saying otherwise.

Is this your bug?

File my report
Where
bun build
Versions
1.4.0
Platforms
Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. build parameter production should set NODE_ENV=production and enable minification#40472
  2. build command's --production parameter does not imply --minify#40471

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.