1.1.1 • Published 3 years ago
@x82-softworks/aws-lambda-bundler v1.1.1
@x82-softworks/aws-lambda-bundler
- A simple tool for optimal lambda bundling. Purposefully excludes aws-sdk from the bundle as it is usually the largest size.
Library Usage
import {bundle} from '@x82-softworks/aws-lambda-bundler';
const zipBuffer = await bundle({
include: ['package.json', 'src/**'],
root: path.join(__dirname,'toZip')
});
Command line usage
$ aws-lambda-bundler .
# To get help
$ aws-lambda-bundler --help