Package Exports
- gulp-awslambda
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 (gulp-awslambda) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-awslambda
A Gulp plugin for publishing your package to AWS Lambda
Install
$ npm install --save-dev gulp-awslambdaUsage
var gulp = require('gulp');
var zip = require('gulp-zip');
gulp.task('default', function () {
return gulp.src('src/*')
.pipe(zip('archive.zip'))
.pipe(gulp.dest('dist'));
});API
zip(filename, options)
filename
Required
Type: string
options
compress
Type: boolean
Default: true
comment
Type: string
Text information embedded in the zip file.