Repository navigation
Answered by
sxzz
Sep 28, 2025
Replies: 2 comments 2 replies
|
Currently, Rolldown does not support this feature natively, but you can create a Rolldown plugin to strip comments. |
1 reply
Answer selected by
ayuhito
|
Hi there !!! this way comments are removed from js files while still present in d.ts files PS: works as well because dts.compilerOptions.removeComments is false by default |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Currently, Rolldown does not support this feature natively, but you can create a Rolldown plugin to strip comments.