gulp-package-aws-lambda
v1.0.6
Published
create a zip archive with all src files and module dependencies
Downloads
5
Maintainers
Readme
gulp-package-aws-lambda
Gulp plugin to package the src js code plus all the "dependencies" inside a zip archive that can be deployed into lambda aws.
Get started
Install
npm gulp-package-aws-lambda
Examples
var gulp = require('gulp');
// Specify the folders of your project (srcFiles inside the src folder)
var options = {"src": "src", "dest": "dist", "srcFiles": ["index.js"]};
// pass a gulp reference
var packageAwsLambdaTask = require('gulp-package-aws-lambda')(gulp, options);
// exec the "task"
packageAwsLambdaTask();