Skip to content
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

NPM package is too large for AWS Lambda #999

Open
claytondus opened this issue Sep 17, 2024 · 0 comments
Open

NPM package is too large for AWS Lambda #999

claytondus opened this issue Sep 17, 2024 · 0 comments

Comments

@claytondus
Copy link

Adding all three architectures' binary assets to a single package exceeds the 256 MB maximum for AWS Lambda. I realize I could create a Docker image but I would prefer to keep using Serverless. Is there a way to distribute a split package with optional dependencies restricted to the OS and architecture, like sharp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant