0.2.3 • Published 5 years ago
@tfinjs/aws-lambda-packager v0.2.3
Packager for @tfinjs/aws-lambda
Use this packager to transpile your modules with webpack, find all the used dependencies and package it all into a zip file.
async packager(entryFilePath: string, dist: string)
Usage:
import packager from '@tfinjs/aws-lambda-packager';
import path from 'path';
const entryFilePath = path.resolve(__dirname, 'service.js');
const zipFilePath = path.resolve(__dirname, 'dist/service.zip')
packager(entryFilePath, zipFilePath)
.then(() => {
console.log('Done');
})
.catch((err) => {
console.log(err);
});
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.0.3-beta
5 years ago
0.0.2-beta
5 years ago
0.0.1-beta
5 years ago