-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to exclude aws-sdk from bundle #1222
Comments
Would you mind try adding an exclude pattern in serverless.ymlpackage:
patterns:
- '!node_modeuls/aws-sdk/**' |
Possible duplicate with #1218, see #1218 (comment) for unconfirmed workaround. |
@vicary I tried adding the exclude pattern in |
@C5H8NNaO4 Thanks, that's unfortunate. There are many possible ways to have this happening, usually due to misconfiguration and oversights. If a minimum reproducting repo is possible, please try to make one so we could pin point the problem. |
@C5H8NNaO4 try this #1218 (comment) |
This is a (Bug Report / Feature Proposal)
Description
For bug reports:
The aws-sdk has also been added as an external in the webpack config.
However the aws-sdk is still being included in the bundle.
Running a script like
rm node_modules/aws-sdk
unfortunately throws an error. So I can't use that as a workaround.Additional Data
The text was updated successfully, but these errors were encountered: