-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bun.build preserve important comments #9795
Comments
IMO having an option for preserving all comments would also be beneficial. |
This feature could be really useful to me as a userscript developer. |
It's interesting that |
Yes. See #8727 (this issue is kind of a duplicate of that but theres some new ideas here so i think we can leave it open) I think in addition to //! it would be nice to support // ==UserScript== as well, but an alternative to that would be using the newly added
Ideally, build without |
What is the problem this feature would solve?
Preserving important comments like licenses when using
Bun.build
What is the feature you are proposing to solve the problem?
Adding a flag so comments starting with
/**!
will be preserved.What alternatives have you considered?
https://esbuild.github.io/api/#legal-comments
The text was updated successfully, but these errors were encountered: