Skip to content

Is it possible to make aws-sdk optional? #3

@ocdtrekkie

Description

@ocdtrekkie

Context: We are adding ep_image_upload to the Etherpad package for Sandstorm.io, which does not ever attempt to store information externally if avoidable.

Dragging in the entire aws-sdk in order to upload images locally feels sort of unpleasant. Is there any way to only include that heft if we are storing in S3? npm says aws-sdk is a solid 80 MB, which is a pretty hefty bloat for an app for unused functionality.

cc: @zenhack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions