You can try it out by installing
@redwoodjs/api-server and passing the
--esbuild flag to the
yarn workspace api add -D @redwoodjs/api yarn rw dev --esbuild yarn rw build --esbuild
What you should see is really fast transpilation times! Here are some stats from my earlier experimentations:
Esbuild works on both the
web sides. The web side will still support your favorite babel plugins, but the api side no longer transpiles with babel.
Please consider this an experiment, and provide feedback about what works and doesn’t work.