-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Configuring the ignoreAnnotations parameter is invalid #14021
Comments
Is this for optimize in build only? Looks like it's added in #8358 but I don't have the full context. It would also be great if you can provide a repro here. |
esbuild strips all comments except Removing pure comments won't cause problems other than not being tree-shaked. |
Describe the bug
esbuild: {
ignoreAnnotations: true
}
This will cause the comments for vue3 to be removed, Affect normal logic.
E.g. /* STABLE / / TEXT */
vite/packages/vite/src/node/optimizer/index.ts
Line 809 in 9d7d45e
Reproduction
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: