Skip to content

Comments are preserved even with minify: true + comments: 'none' #218

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

https://stackblitz.com/edit/github-htvithlu?file=tsdown.config.ts,src%2Findex.ts

What is expected?

No comments are included in the output.

What is actually happening?

Some comments are included in the output.

Any additional comments?

This does not happen with raw rolldown (https://stackblitz.com/edit/github-jpqghezu?file=src%2Fentry.js).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions