What's the best rust entrypoint for transforming? #1992
-
|
I'm trying to use JNI to transform some JS from a Java project. I was using the And this seems to work... sort of. There are some unfortunate things I can't seem to get around like decorators are left out, the use strict directive is never included and modules just plain don't work. Is there a better API I should be calling? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
It depends on your usecase. Deno uses |
Beta Was this translation helpful? Give feedback.
-
|
It might be too late for this question. You might want to check swc4j out. |
Beta Was this translation helpful? Give feedback.
It depends on your usecase. Deno uses
swc_ecma_transfomsviaswc_ecmascript, and next usesswccrate.