Home

Awesome

๐Ÿ’จ serverless-esbuild

Serverless Framework plugin for zero-config JavaScript and TypeScript code bundling using promising fast & furious esbuild bundler and minifier

serverless npm version npm downloads build status semantic-release

Features

Table of Contents

Install

# install `serverless-esbuild` and `esbuild`
yarn add --dev serverless-esbuild esbuild
# or
npm install -D serverless-esbuild esbuild
# or
pnpm install -D serverless-esbuild esbuild

Add the following plugin to your serverless.yml:

plugins:
  - serverless-esbuild

Configuration

By default, no configuration is required, but you can override the default behavior via the custom.esbuild section in the serverless.yml file.

custom:
  esbuild:
    bundle: true
    minify: false

Examples

See example folder for some example configurations.

Options

OptionDescriptionDefault
Esbuild OptionsThis plugin can take almost any Esbuild Javascript Build Option.Default Esbuild Options
concurrencyThe number of concurrent bundle operations to run at once. eg. 8. NOTE: This can be memory intensive and could produce slower builds.Infinity
zipConcurrencyThe number of concurrent zip operations to run at once. eg. 8. NOTE: This can be memory intensive and could produce slower builds.Infinity
excludeAn array of dependencies to exclude from the Lambda. This is passed to the esbuild external option. Set to * to disable packaging node_modules['aws-sdk']
installExtraArgsOptional arguments passed to npm or yarn for external dependency resolution. eg. ['--legacy-peer-deps'] for npm v7+ to use legacy peerDependency resolution behavior[]
keepOutputDirectoryKeeps the .esbuild output folder. Useful for debugging.false
nativeZipUses the system's zip executable to create archives. NOTE: This will produce non-deterministic archives which causes a Serverless deployment update on every deploy.false
outputBuildFolderThe output folder for Esbuild builds within the work folder. You will also need to manually override the watch ignore config if used.'.build'
outputWorkFolderThe output folder for this plugin where all the bundle preparation is done. You will also need to manually override the watch ignore config if used.'.esbuild'
outputFileExtensionThe file extension used for the bundled output file. This will override the esbuild outExtension option'.js'
packagePathPath to the package.json file for external dependency resolution.'./package.json'
packagerPackager to use for external dependency resolution. Values: npm, yarn, pnpm'npm'
packagerOptionsExtra options for packagers for external dependency resolution.Packager Options
watchWatch options for serverless-offline.Watch Options
skipBuildAvoid rebuilding lambda artifacts in favor of reusing previous build artifacts.false
skipRebuildA boolean defining whether rebuild is avoided. Generally rebuild produces faster builds but in some context scenarios with many lambdas or low memory computer (like Github Actions) it can cause memory leaks.false
skipBuildExcludeFnsAn array of lambda names that will always be rebuilt if skipBuild is set to true and bundling individually. This is helpful for dynamically generated functions like serverless-plugin-warmup.[]
stripEntryResolveExtensionsA boolean that determines if entrypoints using custom file extensions provided in the resolveExtensions ESbuild setting should be stripped of their custom extension upon packing the final bundle for that file. Example: myLambda.custom.ts would result in myLambda.js instead of myLambda.custom.js.
disposeContextAn option to disable the disposal of the context.(Functions can override the global disposeContext configuration by specifying their own disposeContext option in their individual configurations.)true

Default Esbuild Options

The following esbuild options are automatically set.

OptionDefaultNotes
bundletrueEsbuild requires this for use with external
entryPointsN/ACannot be overridden
outDirN/ACannot be overridden
platform'node'Set format to esm to enable ESM support
target'node18'We dynamically set this. See Supported Runtimes
watchN/ACannot be overridden

Packager Options

OptionDescriptionDefault
scriptsA string or array of scripts to be executed, currently only supports 'scripts' for npm, pnpm and yarnundefined
noInstall[Yarn only] A boolean that deactivates the install stepfalse
ignoreLockfile[Yarn only] A boolean to bypass lockfile validation, typically paired with external dependencies because we generate a new package.json with only the externalized dependencies.false

Watch Options

OptionDescriptionDefault
patternAn anymatch-compatible definition for the watcher to respond to./**/*.(js|ts) (watches all .js and .ts files)
ignoreAn anymatch-compatible definition for the watcher to ignore['.esbuild', 'dist', 'node_modules', '.build']
chokidarAny Chokidar option{ ignoreInitial: true }

Function Options

OptionDescriptionDefault
skipEsbuildSet this property to true on a function definition to skip esbuildundefined

Supported Runtimes

This plugin will automatically set the esbuild target for the following supported Serverless runtimes:

AWS

RuntimeTarget
nodejs20.xnode20
nodejs18.xnode18
nodejs16.xnode16
nodejs14.xnode14
nodejs12.xnode12

Google

This plugin is compatible with the serverless-google-cloudfunctions plugin, and will set the runtimes accordingly.

RuntimeTarget
nodejs20node20
nodejs18node18
nodejs16node16
nodejs14node14
nodejs12node12

Azure

This plugin is compatible with the serverless-azure-functions plugin, and will set the runtimes accordingly.

RuntimeTarget
nodejs18node18
nodejs16node16
nodejs14node14
nodejs12node12

Please Note When using this package in conjunction with the serverless-azure-functions plugin, the following additional configuration is required to ensure function apps are built correctly:

package:
	patterns: ["host.json", "**/function.json"],

Non-Node functions

If you wish to use this plugin alongside non Node functions like Python or functions with images, this plugin will automatically ignore any function which does not contain a handler or use a supported Node.js runtime.

Note: If you are using Python functions with Serverless Offline you will need to change the outputWorkFolder and outputBuildFolder to folder names without fullstops.

Advanced Configuration

Config file

Esbuild configuration can be defined by a config file.

custom:
  esbuild:
    config: './esbuild.config.js'
// esbuild.config.js
module.exports = (serverless) => ({
  external: ['lodash'],
  plugins: [],
});

Including Extra Files

Serverless Package Configuration will behave in the same way as native packaging. You can use patterns, include and exclude to include extra files into your bundles.

External Dependencies

Packages that are marked as external and exist in the package.json's dependencies will be installed and included with your build under node_modules. You can customize this with a number of options.

custom:
  esbuild:
    external:
      - lodash
    packager: yarn
    packagePath: absolute/path/to/package.json
    packagerOptions:
      scripts:
        - echo 'Hello World!'
        - rm -rf node_modules
    installExtraArgs:
      - '--legacy-peer-deps'

To easily mark all the dependencies in package.json as external, you can utilize esbuild-node-externals plugin.

To mark one or more individual packages as external, use the following configuration:

custom:
  esbuild:
    external:
      - 'my-package-name'
      - 'another-package-name'

Esbuild Plugins

Note: The Esbuild plugins API is still experimental

You can configure esbuild plugins by passing a plugins' configuration file:

custom:
  esbuild:
    plugins: plugins.js

The plugins' configuration file must be a javascript file exporting an array of plugins (see examples/individually/plugins.js for a dummy plugin example):

let myPlugin = {
  name: 'my-plugin',
  setup(build) {
    // plugin implementation
  },
};

// default export should be an array of plugins
module.exports = [myPlugin];

or a function that accepts serverless instance and returns an array of plugins (see issue #168 for an example):

module.exports = (serverless) => {
  const myPlugin = {
    name: 'my-plugin',
    setup(build) {
      // plugin implementation with `serverless` instance access
      console.log('sls custom options', serverless.service.custom);
    },
  };

  // an array of plugins must be returned
  return [myPlugin];
};

Usage

Automatic compilation

As long as the plugin is properly installed, all regular Serverless operations sls package, sls deploy, sls deploy function, sls invoke local, sls offline will automatically compile using serverless-esbuild.

Specify a custom entrypoint for a function

You can specify a custom entrypoint for ESBuild by specifying the esbuildEntrypoint field in your function definition.

export const myLambdaFunction = {
  handler: '/opt/nodejs/node_modules/my_custom_extension/handler.handler',
  esbuildEntrypoint: './handler.main',
};

Serverless Offline

The plugin integrates very well with serverless-offline to simulate AWS Lambda and AWS API Gateway locally.

Add the plugins to your serverless.yml file and make sure that serverless-esbuild precedes serverless-offline as the order is important:

plugins: ...
  - serverless-esbuild
  ...
  - serverless-offline
  ...

Run serverless offline or serverless offline start to start the Lambda/API simulation.

In comparison to serverless offline, the start command will fire an init and a end lifecycle hook which is needed for serverless-offline and e.g. serverless-dynamodb-local to switch off resources (see below)

Automatic compilation is available while using the plugin with serverless-offline.

custom:
  esbuild:
    watch:
      pattern: ['src/**/*.ts'] # match only typescript files in src directory
      ignore: ['temp/**/*']

Note: When overriding the ignore pattern, remember to ignore .build directory to avoid endless compilation.

Serverless Dynamodb Local

Configure your service the same as mentioned above, but additionally add the serverless-dynamodb-local plugin as follows:

plugins:
  - serverless-esbuild
  - serverless-dynamodb-local
  - serverless-offline

Run serverless offline start.

Invoke Local

This plugin supports the Serverless Invoke Local functionality and will automatically compile the selected function.

External Tools

Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/floydspace"><img src="https://avatars.githubusercontent.com/u/5180700?v=4?s=70" width="70px;" alt="Victor Korzunin"/><br /><sub><b>Victor Korzunin</b></sub></a><br /><a href="#question-floydspace" title="Answering Questions">๐Ÿ’ฌ</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=floydspace" title="Code">๐Ÿ’ป</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=floydspace" title="Documentation">๐Ÿ“–</a> <a href="#example-floydspace" title="Examples">๐Ÿ’ก</a> <a href="#ideas-floydspace" title="Ideas, Planning, & Feedback">๐Ÿค”</a> <a href="#infra-floydspace" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#maintenance-floydspace" title="Maintenance">๐Ÿšง</a> <a href="#plugin-floydspace" title="Plugin/utility libraries">๐Ÿ”Œ</a> <a href="#projectManagement-floydspace" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/floydspace/serverless-esbuild/pulls?q=is%3Apr+reviewed-by%3Afloydspace" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=floydspace" title="Tests">โš ๏ธ</a> <a href="#tool-floydspace" title="Tools">๐Ÿ”ง</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/olup"><img src="https://avatars.githubusercontent.com/u/13785588?v=4?s=70" width="70px;" alt="Loup Topalian"/><br /><sub><b>Loup Topalian</b></sub></a><br /><a href="#question-olup" title="Answering Questions">๐Ÿ’ฌ</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=olup" title="Code">๐Ÿ’ป</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=olup" title="Documentation">๐Ÿ“–</a> <a href="#infra-olup" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#maintenance-olup" title="Maintenance">๐Ÿšง</a> <a href="#plugin-olup" title="Plugin/utility libraries">๐Ÿ”Œ</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/samchungy"><img src="https://avatars.githubusercontent.com/u/18017094?v=4?s=70" width="70px;" alt="Sam Chung"/><br /><sub><b>Sam Chung</b></sub></a><br /><a href="#question-samchungy" title="Answering Questions">๐Ÿ’ฌ</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=samchungy" title="Code">๐Ÿ’ป</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=samchungy" title="Documentation">๐Ÿ“–</a> <a href="#example-samchungy" title="Examples">๐Ÿ’ก</a> <a href="#infra-samchungy" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#maintenance-samchungy" title="Maintenance">๐Ÿšง</a> <a href="#plugin-samchungy" title="Plugin/utility libraries">๐Ÿ”Œ</a> <a href="https://github.com/floydspace/serverless-esbuild/pulls?q=is%3Apr+reviewed-by%3Asamchungy" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="#tool-samchungy" title="Tools">๐Ÿ”ง</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/vamche"><img src="https://avatars.githubusercontent.com/u/9653338?v=4?s=70" width="70px;" alt="Vamsi Dharmavarapu"/><br /><sub><b>Vamsi Dharmavarapu</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=vamche" title="Code">๐Ÿ’ป</a> <a href="https://github.com/floydspace/serverless-esbuild/commits?author=vamche" title="Documentation">๐Ÿ“–</a> <a href="#example-vamche" title="Examples">๐Ÿ’ก</a> <a href="#infra-vamche" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#maintenance-vamche" title="Maintenance">๐Ÿšง</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/webdeveric"><img src="https://avatars.githubusercontent.com/u/1823514?v=4?s=70" width="70px;" alt="Eric"/><br /><sub><b>Eric</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=webdeveric" title="Code">๐Ÿ’ป</a> <a href="#ideas-webdeveric" title="Ideas, Planning, & Feedback">๐Ÿค”</a> <a href="#maintenance-webdeveric" title="Maintenance">๐Ÿšง</a> <a href="#infra-webdeveric" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="https://github.com/floydspace/serverless-esbuild/pulls?q=is%3Apr+reviewed-by%3Awebdeveric" title="Reviewed Pull Requests">๐Ÿ‘€</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/codingnuclei"><img src="https://avatars.githubusercontent.com/u/37954566?v=4?s=70" width="70px;" alt="Chris"/><br /><sub><b>Chris</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=codingnuclei" title="Code">๐Ÿ’ป</a> <a href="#ideas-codingnuclei" title="Ideas, Planning, & Feedback">๐Ÿค”</a></td> <td align="center" valign="top" width="14.28%"><a href="https://geutstudio.com/"><img src="https://avatars.githubusercontent.com/u/819446?v=4?s=70" width="70px;" alt="Martรญn Acosta"/><br /><sub><b>Martรญn Acosta</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=tinchoz49" title="Code">๐Ÿ’ป</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/tonyt-adept"><img src="https://avatars.githubusercontent.com/u/82844324?v=4?s=70" width="70px;" alt="Tony Tyrrell"/><br /><sub><b>Tony Tyrrell</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=tonyt-adept" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://mattjennings.io/"><img src="https://avatars.githubusercontent.com/u/8703090?v=4?s=70" width="70px;" alt="Matt Jennings"/><br /><sub><b>Matt Jennings</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=mattjennings" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/mishabruml"><img src="https://avatars.githubusercontent.com/u/25983780?v=4?s=70" width="70px;" alt="Misha Bruml"/><br /><sub><b>Misha Bruml</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=mishabruml" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.swarmion.dev/"><img src="https://avatars.githubusercontent.com/u/29537204?v=4?s=70" width="70px;" alt="Franรงois Farge"/><br /><sub><b>Franรงois Farge</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=fargito" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://reelcrafter.com/"><img src="https://avatars.githubusercontent.com/u/12532733?v=4?s=70" width="70px;" alt="Sam Hulick"/><br /><sub><b>Sam Hulick</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=ffxsam" title="Documentation">๐Ÿ“–</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/troyready"><img src="https://avatars.githubusercontent.com/u/1806418?v=4?s=70" width="70px;" alt="Troy Ready"/><br /><sub><b>Troy Ready</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=troyready" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.subash.com.au/"><img src="https://avatars.githubusercontent.com/u/1757714?v=4?s=70" width="70px;" alt="subash adhikari"/><br /><sub><b>subash adhikari</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=adikari" title="Code">๐Ÿ’ป</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/danionescu"><img src="https://avatars.githubusercontent.com/u/3269359?v=4?s=70" width="70px;" alt="Dan Ionescu"/><br /><sub><b>Dan Ionescu</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=danionescu" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/gurushida"><img src="https://avatars.githubusercontent.com/u/49831684?v=4?s=70" width="70px;" alt="gurushida"/><br /><sub><b>gurushida</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=gurushida" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/nickygb"><img src="https://avatars.githubusercontent.com/u/23530107?v=4?s=70" width="70px;" alt="nickygb"/><br /><sub><b>nickygb</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=nickygb" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://twitter.com/capajj"><img src="https://avatars.githubusercontent.com/u/1305378?v=4?s=70" width="70px;" alt="Jiri Spac"/><br /><sub><b>Jiri Spac</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=capaj" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/gavynriebau"><img src="https://avatars.githubusercontent.com/u/11895736?v=4?s=70" width="70px;" alt="gavynriebau"/><br /><sub><b>gavynriebau</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=gavynriebau" title="Documentation">๐Ÿ“–</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/adriencaccia"><img src="https://avatars.githubusercontent.com/u/19605940?v=4?s=70" width="70px;" alt="Adrien Cacciaguerra"/><br /><sub><b>Adrien Cacciaguerra</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=adriencaccia" title="Documentation">๐Ÿ“–</a></td> <td align="center" valign="top" width="14.28%"><a href="https://riotz.works/"><img src="https://avatars.githubusercontent.com/u/31102213?v=4?s=70" width="70px;" alt="lulzneko"/><br /><sub><b>lulzneko</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=lulzneko" title="Code">๐Ÿ’ป</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://u-ne.co/"><img src="https://avatars.githubusercontent.com/u/603523?v=4?s=70" width="70px;" alt="AOKI Yuuto"/><br /><sub><b>AOKI Yuuto</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=uneco" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/ThomasAribart"><img src="https://avatars.githubusercontent.com/u/38014240?v=4?s=70" width="70px;" alt="Thomas Aribart"/><br /><sub><b>Thomas Aribart</b></sub></a><br /><a href="#ideas-ThomasAribart" title="Ideas, Planning, & Feedback">๐Ÿค”</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/koryhutchison"><img src="https://avatars.githubusercontent.com/u/22381273?v=4?s=70" width="70px;" alt="Kory Hutchison"/><br /><sub><b>Kory Hutchison</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=koryhutchison" title="Code">๐Ÿ’ป</a> <a href="#ideas-koryhutchison" title="Ideas, Planning, & Feedback">๐Ÿค”</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.chrishutchinson.me"><img src="https://avatars.githubusercontent.com/u/1573022?v=4?s=70" width="70px;" alt="Chris Hutchinson"/><br /><sub><b>Chris Hutchinson</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=chrishutchinson" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="http://fredrikmollerstrand.se"><img src="https://avatars.githubusercontent.com/u/12793?v=4?s=70" width="70px;" alt="Fredrik Mรถllerstrand"/><br /><sub><b>Fredrik Mรถllerstrand</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=fredrik" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://thisisfashion.tv"><img src="https://avatars.githubusercontent.com/u/19397354?v=4?s=70" width="70px;" alt="Sander Kooger"/><br /><sub><b>Sander Kooger</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=sanderkooger" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="http://caffeinatedcoding.wordpress.com"><img src="https://avatars.githubusercontent.com/u/1588262?v=4?s=70" width="70px;" alt="Adam Swift"/><br /><sub><b>Adam Swift</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=Gleeble" title="Code">๐Ÿ’ป</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/fm-sz"><img src="https://avatars.githubusercontent.com/u/119663527?v=4?s=70" width="70px;" alt="Florian Mayer"/><br /><sub><b>Florian Mayer</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=fm-sz" title="Code">๐Ÿ’ป</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/ZachLeviPixel"><img src="https://avatars.githubusercontent.com/u/131263652?v=4?s=70" width="70px;" alt="Zach Levi"/><br /><sub><b>Zach Levi</b></sub></a><br /><a href="https://github.com/floydspace/serverless-esbuild/commits?author=ZachLeviPixel" title="Code">๐Ÿ’ป</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

Inspired by serverless-plugin-typescript and serverless-webpack