You can try it out by installing
@redwoodjs/api-server and passing the
--esbuild flag to the
edit as of v0.29:
@redwoodjs/api-serveris now included in Redwood project installations. The step to add the package has been removed from the commands below.
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.