Skip to content

feat(compiler): v5 new jsMinifier config option: oxc | terser. Defaults to oxc - #6853

Merged
johnjenkins merged 4 commits into
v5from
v5-oxc-minify
Aug 29, 2026
Merged

feat(compiler): v5 new jsMinifier config option: oxc | terser. Defaults to oxc#6853
johnjenkins merged 4 commits into
v5from
v5-oxc-minify

Conversation

@johnjenkins

@johnjenkins johnjenkins commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What is the current behavior?

GitHub Issue Number: N/A

Terser used for js minification under-the-hood, always.

What is the new behavior?

New config option:

jsMinifier?: 'terser' | 'oxc';

  • oxc: built into rolldown. Much faster than terser. Output may be slightly larger.
  • terser: slower, but currently produces the smallest output.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@johnjenkins
johnjenkins requested a review from a team as a code owner August 28, 2026 00:38
@johnjenkins johnjenkins changed the title feat(compiler): new jsMinifier config option: oxc | terser. Defaults to oxc feat(compiler): v5 new jsMinifier config option: oxc | terser. Defaults to oxc Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Runtime Benchmark

  • 9 untouched benchmarks
  • 0 improved benchmarks
  • 0 regressed benchmarks

@johnjenkins
johnjenkins merged commit 4a6a918 into v5 Aug 29, 2026
31 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant