Skip to content

Can't override exclude of aws-sdk #9

Closed
@jagregory

Description

@jagregory

The list of excluded packages is a union of whatever the user supplies and ['aws-sdk'], which means you can't not exclude aws-sdk.

const exclude = union(props.exclude || [], ['aws-sdk']);

As Lambda doesn't bundle the latest version of the SDK this can be a problem if you depend on a newer SDK version. Ideally in this scenario I'd just bundle aws-sdk until the Lambda version is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions