Skip to content

[Bug]: the minify options comments: "some" does not preserve pure annotation #418

@fi3ework

Description

@fi3ework

Version

latest

Details

Change this line

comments: 'all',
to comments: 'some'. The pure annotation will be striped.

It works as expected in swc playground. Seems to be a Rspack bug.

Reproduce link

/

Reproduce Steps

Simply check the react bundleless example in /examples after change to 'some'.

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions