Skip to content

Option to ignore Visit nodes based on comments. #7903

Closed Answered by flickyiyo
flickyiyo asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flickyiyo
Comment options

Answer selected by flickyiyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants