Use node-lambda with babel
babel-node-lambda
allows you to utilize node-lambda with your existing babel configuration.
npm install -g babel-node-lambda
This package requires that you have babel installed and correctly configured with a .babelrc
file. For more information about babel configuration please see the setup documentation for babel-cli
.
babel-node-lambda run
Transpiles AWS Lambda function prior to running node-lambda run
. See documentation for node-lambda run.
The following flags are currently supported:
-H, --handler