Repository navigation
esbuild #1746
Answered
by
cspotcode
bestickley
asked this question in
Q&A
esbuild
#1746
|
Was esbuild considered as a supported transpiler? Why only swc? Coming from Vite where esbuild is used and just curious. |
Answered by
cspotcode
May 9, 2022
Replies: 1 comment 1 reply
|
At the time, swc's performance for our specific use-case was better, because swc runs in-process. At the time, esbuild required running as an external process. Maybe it still does? I'm not sure. Also, for our specific use-case, esbuild and swc were functionally identical. Our transpiler API is public, so anyone can write an esbuild integration. Is there something specifically where swc is not working? Because if swc and esbuild are functionally identical for this specific use-case, then adding esbuild support is wasted effort. |
1 reply
Answer selected by
bestickley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the time, swc's performance for our specific use-case was better, because swc runs in-process. At the time, esbuild required running as an external process. Maybe it still does? I'm not sure. Also, for our specific use-case, esbuild and swc were functionally identical.
Our transpiler API is public, so anyone can write an esbuild integration.
Is there something specifically where swc is not working? Because if swc and esbuild are functionally identical for this specific use-case, then adding esbuild support is wasted effort.