AnomalyInnovations/serverless-bundle

Forcing include of the "aws-sdk" package

dariodjuric opened this issue · 2 comments

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 with aws-sdk in it
  • Using externals with aws-sdk in it
  • Using an empty array on forceExclude
cnuss commented

I've added a PR for this here:
#366

cc: @jayair

Same problem here