Open kkimdev opened 2 weeks ago
I don't think SWC supports javascript plugins, so it's impossible to load any javascript loader with SWC
fwiw, if it works, we would also consider node+esbuild, since the speed is pretty similar on benchmarks.
with esbuild it works fine. maybe this helps https://github.com/gjsify/gjsify/tree/main/packages/infra/esbuild-plugin-deepkit
(Please correct me if I'm wrong)
swc and esbundle are getting popular, it would be great to have a documentation on how to use DeepkitLoader with them in common environments.
We recently tried Deepkit RPC in our project. So far so good except our server restart became 2x slower, from switching swc to tsc. We're trying to figure out if we can use DeepkitLoader and keep swc.
This is how we run our server
and our tsconfig.json had