Package Exports
- serverless-aws-lambda
- serverless-aws-lambda/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-aws-lambda) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Motivation
Installation
yarn add -D serverless-aws-lambda
# or
npm install -D serverless-aws-lambda
inside your serverless.yml
service: myapp
frameworkVersion: "3"
configValidationMode: error
plugins:
- serverless-aws-lambda
custom:
serverless-aws-lambda:
port: 3000
watch: true
static: ./public
esBuildConfig: ./path/to/esbuild/configFile.default
to trigger the plugin passe aws-lambda
into your serverless CLI commande:
sls aws-lambda -s dev
It is also possible to passe port and watch options from the CLI with --port
or -p
and --watch
or -w
.
Command line values will overwrite serverless.yml custom values if they are set.