Skip to content
Victor Korzunin edited this page Sep 29, 2021 · 1 revision

💨 serverless-esbuild wiki

What is serverless-esbuild plugin?

It is a Serverless Framework plugin to bundle JavaScript and TypeScript functions with extremely fast Esbuild bundler and minifier.

Esbuild is a relatively new bundler implemented with JS code compiling speed in mind, it is especially useful in the serverless world where applications represent dozens of stand-alone functions, that it is hard to keep them lightweight and deploy fast.

The plugin implementation is inspired by serverless-plugin-typescript and serverless-webpack and we keep look back on them.

How does it work?

Here you can find common scenarios of what the plugin can do:

  1. Default usage
  2. Packaging external modules
  3. Individual packaging
  4. Monorepo (workspaces) usage
  5. Esbuild plugins usage
  6. Local development
Clone this wiki locally