Skip to content

Additional removeDeclarationComments option for removing comments for JavaScript outputs but not declarationsΒ #61549

Closed as duplicate of#14619
@JounQin

Description

@JounQin

πŸ” 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

  1. What do you want to use this for?

Comments for declarations are useful, for example @deprecated jsdoc

  1. What shortcomings exist with current approaches?

It doesn't make much sense to have both of them in JavaScript outputs and declarations

  1. What workarounds are you using in the meantime?

I have to disable removeComments for now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions