You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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/[email protected]/dist/kvs-webrtc.js, that would also solve my problem.
The text was updated successfully, but these errors were encountered: