build-lambdas
Utility to build your lambdas in parallel.
- runs
npm install --production
after removingnode_modules
folder - runs
npm ci --only=production
if there is a package-lock.json - it can zip your lambdas
Usage
As a module:
const path = const join = pathjoinconst buildLambdas = const lambdaFolder01 = const lambdaFolder02 = const lambdaFolder03 = const lambdaFolderA = { await buildLambdas} // My own zip function: { return buildLambdas}
License
ISC