-
Notifications
You must be signed in to change notification settings - Fork 1.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
How to keep all my comments code? #1439
Comments
This is not supported. You should use another tool instead. |
why ? |
@anchengjian It's not part of the AST (kinda; I mean legal comments and It's a bummer I know, but handling comments is hard logic to code correctly and esbuild is trying to be fast and lean. It's a large undertaking to get it right, I think. I'd like them to stay too. Not sure if this is your use case at all but: my team publishes npm packages that other internal teams use. It's common for people to ctrl+click an import to want to see the node_modules code. With webpack, we'd see close-to-sourcecode code that had comments. After moving to esbuild we lost that. Our workaround was to use |
How to keep all my comments code, not just the LegalComments ???
The text was updated successfully, but these errors were encountered: