serverless-bundle
serverless-bundle copied to clipboard
Forcing include of the "aws-sdk" package
Hello,
Is there a way to force-include the "aws-sdk" package in the bundle? I'm aware this would make the lambdas bigger, however we need this in order to have our lambdas working in Node 18 until we migrate to SDK v3.
I've tried the following, but it always excluded the package:
- Using
forceInclude
withaws-sdk
in it - Using
externals
withaws-sdk
in it - Using an empty array on
forceExclude
I've added a PR for this here: https://github.com/AnomalyInnovations/serverless-bundle/pull/366
cc: @jayair
Same problem here