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
Add a new option removeDeclarationComments: boolean
π Motivating Example
I want to strip comments for JavaScript outputs but not declarations
π» Use Cases
What do you want to use this for?
Comments for declarations are useful, for example @deprecated jsdoc
What shortcomings exist with current approaches?
It doesn't make much sense to have both of them in JavaScript outputs and declarations
What workarounds are you using in the meantime?
I have to disable removeComments for now
The text was updated successfully, but these errors were encountered:
JounQin
changed the title
Additional removeComments option for removing comments for JavaScript outputs but not declarations
Additional removeDeclarationComments option for removing comments for JavaScript outputs but not declarations
Apr 7, 2025
π Search Terms
"removeComments"
β Viability Checklist
β Suggestion
Add a new option
removeDeclarationComments: boolean
π Motivating Example
I want to strip comments for JavaScript outputs but not declarations
π» Use Cases
Comments for declarations are useful, for example
@deprecated
jsdocIt doesn't make much sense to have both of them in JavaScript outputs and declarations
I have to disable
removeComments
for nowThe text was updated successfully, but these errors were encountered: