SERVERLESS BUILD PLUGIN
This plugin is intended to add flexibility to the serverless build process for serverless 1.0.
Currently in testing state. To try this, simply:
- npm install both
./test
and ./
- then
sls deploy
in the test folder with a default AWS profile or export AWS_PROFILE=myprofile
.
The plugin can be configured both on the commandline and under custom.build
in serverless.yml
sls deploy --keep
, keep build files and artifacts, do not purge.sls deploy --build=./buildFile.js
sls deploy --bundle
use bundling instead of a build file.
ROADBLOCKS
- serverless 1.0 still doesn't support packaging single functions
FEATURE GOALS
TODO
REF