-
Inspired by the Example use of how scope information can aid transformations:
Surely something similar can be done by tracking additional state while using swc, but wondering if any API already exists for this purpose, or any plans to add it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Simply, it can't be added. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the prompt response! In my mini benchmarks, I am seeing swc performing 3x faster than babel so I am very much tempted to migrate my plugins to swc, but the lack of helpers will mean more developer time. (Thanks for writing this tool though, much appreciated) |
Beta Was this translation helpful? Give feedback.
Simply, it can't be added.
If you study Rust more, you will understand the constraint