Standalone usage/Binary distribution #2290
-
Hello everyone Thank you for this amazing project Is there a way to use swc without node? I currently use esbuild binaries to do some js processing in a dev tool I'm working with, but I'd like to support swc in the future, However it looks like the CLI is meant with node in mind. If anyone can point me to the correct resources to investigate this further it would be great! thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Are you going to use swc from rust? There's #1589, but I don't have enough time to do it. |
Beta Was this translation helpful? Give feedback.
-
Bumping this. I was kind of shocked to find literally all the typescript compilers require node. As somebody who just wanted to play around with typescript for just normal js on web pages, I don't need node, and it's weird there isn't just a single simple executable to do the transpiling. Seems like swc is the closest to getting there since it's in rust...I might take a look at compiling it standalone. |
Beta Was this translation helpful? Give feedback.
-
Please refer #3859 |
Beta Was this translation helpful? Give feedback.
Please refer #3859