You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there some visitor fn hook that I can call ( similiar to Program:exit from eslint ) or some other approach that could be used in order to execute custom transforms after swc core finished ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Use case:
I wanna run my custom transform that removes all
@jsx*
related code pragmas, aftertsx
module is transpiled with all core swc transforms⬇⬇⬇
Question:
Is there some visitor fn hook that I can call ( similiar to
Program:exit
from eslint ) or some other approach that could be used in order to execute custom transforms after swc core finished ?ty!
Beta Was this translation helpful? Give feedback.
All reactions