[plugin-legacy]:Should this plugin respect the build minifier from vite rather than force using terser in Vite 8.0? #21858
-
|
Since the default build minify value is oxc in 8.0 , and the plugin-legacy seems still force using terser. Would that seem to be confusing and inconsistent ? Vite 8.0 build tips:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
yes, @vitejs/plugin-legacy should respect build.minify: false at minimum, and ideally the configured minifier. Right now it unconditionally spins up Terser regardless of what you've set. That's both a performance problem and a configuration coherence problem. |
Beta Was this translation helpful? Give feedback.
-
|
That makes sense to me. I've made an issue: #21973 |
Beta Was this translation helpful? Give feedback.
That makes sense to me. I've made an issue: #21973