swc icon indicating copy to clipboard operation
swc copied to clipboard

getCustomTransformers option - Set of option

Open matheus1lva opened this issue 5 years ago • 2 comments
trafficstars

Question

Hello! First, i want to congratulate for such amazing and promising project!

On ts-loader there is getCustomTransformers option, which can have custom transformers. Is there something similar here?

Thank you!

matheus1lva avatar Sep 22 '20 19:09 matheus1lva

We use transformer in uour project. Any chance of seeing it available in swc ?

farfromrefug avatar Sep 23 '21 18:09 farfromrefug

Maybe need to see https://swc.rs/docs/usage/plugins, to write new plugin instead of original transformers which is developed for tsc.

zyf0330 avatar Jun 15 '22 02:06 zyf0330

Closing as outdated, for the custom transform we recommend to use transform plugins.

kwonoj avatar Jun 07 '23 18:06 kwonoj

@kwonoj could you link to a doc or an example or something to give context to your answer ? Thanks

farfromrefug avatar Jun 07 '23 21:06 farfromrefug

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

swc-bot avatar Jul 08 '23 00:07 swc-bot