lambdapack

Package your AWS Lambda efficiently, ready to be deployed with apex/up

Usage no npm install needed!

<script type="module">
  import lambdapack from 'https://cdn.skypack.dev/lambdapack';
</script>

README

lambda-pack

Package your AWS Lambda efficiently, ready to be deployed with apex/up

Installation

Install and save to devDependencies:

npm install --save-dev lambdapack

Project configuration

Run for the first time in your node.js project root folder:

npx lambdapack

This will setup everything that is needed:

  • Add scripts to package.json
  • Create webpack.config.babel.js file
  • Create/Update .babelrc config file
  • Create/Update up.json file

Deploy

Now you can deploy using apex/up:

up

and

up deploy production

Future improvements

  • Bundle Node.js 8 (or latest) inside package
  • Allow to customize the whitelist and blacklist
  • Support other deployment methods other than apex/up