-
Currently I am working on a tool to find unused exports using Is there any feature here that I can use create such functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're implementing a visitor in a specific node you could check attached comments to do necessary conditions. There are some refereces around existing swc plugins out there. If you're asking to do have some feature supported out of the box by |
Beta Was this translation helpful? Give feedback.
After looking at the documentation,
swc_core::common::comments::SingleThreadedComments
provided the functionality I needed to implement a webpack's magic comment like feature in my project.