-
Couldn't load subscription status.
- Fork 220
Description
This is a Feature Proposal
Description
When serverless packages up a node project, it removes all devDependencies from the node_moduels directory. This is nice because dev dependencies can contain lots of heavyweight modules (e.g. TypeScript) that we don't want to bother shipping off to AWS.
Unfortunately, right now, serverless-step-functions brings in aws-sdk as a package dependency, which means that all ~50mb of that monster are package up and sent to AWS on each deploy. AWS includes aws-sdk in its nodejs runtime by default, so doing this is not necessary.
Can aws-sdk be made a dev dependency? That way any tests and local invocations of serverless will work fine, but will still allow serverless to remove aws-sdk automatically when packaging.