Replies: 1 comment 2 replies
-
You could write your own rust program and only use swc's parser and resolver |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I want to create some usage statistics for my project (ts/tsx/js/jsx). I know I could write a plugin, but I don’t need any additional transforms for my code, only an ast and my visitor to run on it. Should I use some swc ast crate directly or is there a way to run swc without any transforms, but with my plugin? Or is there another preferable way to do this? I don’t have any experience with swc so this might sound dumb, but I would value any response nonetheless
Beta Was this translation helpful? Give feedback.
All reactions