-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(config): esbuild minify configurable #6178
Conversation
@poyoho Please change
so that it will close those 2 issues once this PR is merged |
I'm not really sure if we want to support this. IMO it deviates from Vite's opinion, and the two issues are trying to solve a very niche edge-case. #5619 seems like it would be better fixed on esbuild side. #6065 is weird that it wants to disable a specific part of minification. I bet it can be solved by refactoring the core problem. |
Right now
is ignored and esbuild is still being used for minification, which contradicts documentation at https://vitejs.dev/config/#build-minify |
However, in most cases, the internal configuration of vite has a higher priority.🙈 |
Could you clarify if this is current / desired / documented behavior? |
IIUC, @patak-dev said in my other PR. So I closed this PR because it violated the rules |
Description
fix #6065
Additional context
esbuild minify configurable
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).