You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading vite, the build.minify configuration is invalid, minify is disabled in lib mode, and it was available before. This configuration is confusing, I found the reason, I hope to keep this feature, it is very useful to me. I don't want to write an additional Rollup plugin for this requirement, I hope there are other simple solutions. vuejs/core#2860 (comment) 06d86e4
Reproduction
// vite config{"build": {"minify": true,"lib": {"name": 'vue',"entry": 'vue.js',"formats": ['es'],"fileName": ()=>`vue.js`,}},}
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Describe the bug
After upgrading vite, the build.minify configuration is invalid, minify is disabled in lib mode, and it was available before. This configuration is confusing, I found the reason, I hope to keep this feature, it is very useful to me. I don't want to write an additional Rollup plugin for this requirement, I hope there are other simple solutions.
vuejs/core#2860 (comment)
06d86e4
Reproduction
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: