Package Exports
- serverless-package-location-customizer
- serverless-package-location-customizer/src/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-package-location-customizer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
serverless-package-location-customizer
A serverless plugin to allow custom S3Bucket and S3Key path when packaging Lambda Functions and Layers
Installation
Install to your Serverless project via npm
$ npm install --save serverless-package-location-customizer
Usage
Add the plugin to your serverless.yml
# serverless.yml
plugins:
- serverless-package-location-customizer
Run serverless package command with the following paramters
- --s3-bucket name of the deployment bucket
- --s3-path path to the packaged inside the deployment bucket
Example
serverless package --stage production --s3-bucket my-deployment-packages --s3-path /my-product/v1.2.3-45/