github.com/floydspace/serverless-esbuild

💨 A Serverless framework plugin to bundle JavaScript and TypeScript with extremely fast esbuild

Open this visualization on its own page →

Contributors

37

Lines of Code

463

From

2020-05-13

To

2022-04-06

About floydspace/serverless-esbuild

Serverless-esbuild is a plugin for the Serverless Framework that bundles JavaScript and TypeScript code for AWS Lambda functions using the esbuild bundler. The plugin works out of the box with zero configuration required, automatically handling the bundling process during standard Serverless operations like package, deploy, and invoke-local commands.

The plugin supports both individual function deployment and concurrent bundling of multiple functions, with configurable concurrency limits to manage memory usage. It automatically detects and sets appropriate build targets for various Node.js runtimes (node12 through node24), excludes the aws-sdk by default, and can handle external dependencies by installing them into the deployment package. Advanced features include support for esbuild plugins, custom entrypoints per function, and integration with serverless-offline for local development and testing.

The project is actively maintained with broad compatibility across deployment platforms including AWS Lambda, Google Cloud Functions, and Azure Functions. It's designed for developers using Serverless Framework who want fast TypeScript and JavaScript bundling without the complexity of webpack configuration, and it integrates seamlessly with popular local development tools like serverless-offline and serverless-dynamodb-local.

Share this video