Skip to content

Don't pull in entire aws-sdk #77

@kernwig

Description

@kernwig

StateStorage, AwsHttps, (and others?) are pulling in the entire aws-sdk as a dependency, preventing unused parts from being tree-shaken out of the resulting Lambdas where these libraries are used.

Update the import statements to only pull in the needed clients. Details: https://adamfanello.medium.com/reduce-existing-javascript-lambda-package-by-49-yes-please-fe08c9aa60d

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions