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
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
importstatements to only pull in the needed clients. Details: https://adamfanello.medium.com/reduce-existing-javascript-lambda-package-by-49-yes-please-fe08c9aa60d