Skip to content

Dependencies tree is large #159

@fblundun

Description

@fblundun

When I include amazon-kinesis-video-streams-webrtc in my package.json, it ends up pulling in 243MB of node_modules dependencies. This is problematic because I want to use this library in an AWS Lambda layer, whose maximum size is 250MB.

Right now I am working around this by using trial and error to manually delete dependencies until the package is small enough (12MB) for my purposes without breaking. (The only functionality in the library that I am using is new SigV4RequestSigner(...).createSignedKinesisUrl(...).)

Is there a better way to include this library without bringing in so many dependencies?

Edit: if there were a node.js-compatible version of https://unpkg.com/amazon-kinesis-video-streams-webrtc@1.0.8/dist/kvs-webrtc.js, that would also solve my problem.

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