Skip to content

feat(legacy): prefer oxc as minifier (fix #21973) - #22468

Merged
sapphi-red merged 16 commits into
vitejs:mainfrom
bhagatsaurabh:fix/plugin-legacy-oxc-minify
Jul 9, 2026
Merged

sapphi-red merged 16 commits into
vitejs:mainfrom
bhagatsaurabh:fix/plugin-legacy-oxc-minify

Conversation

@bhagatsaurabh

@bhagatsaurabh bhagatsaurabh commented May 17, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #21973

Summary

  • Updates plugin-legacy to prefer oxc as the default minifier instead of always forcing terser.

Changelog

  • Add legacy minifier resolution helpers to derive behavior from build.minify.
  • Replace hardcoded Terser paths with conditional Oxc(default)/Terser(fallback) selection.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p3-significant High priority enhancement (priority) plugin: legacy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

legacy: use Oxc for minify by default

3 participants