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

Separate async methods (to use with Lambda functions) #1545

Closed
efortes opened this issue Jun 20, 2018 · 2 comments
Closed

Separate async methods (to use with Lambda functions) #1545

efortes opened this issue Jun 20, 2018 · 2 comments
Labels

Comments

@efortes
Copy link

efortes commented Jun 20, 2018

First of all thank you for maintaining this project.
Recently I start using AWS nodejs lambda functions for my applications. I use the serverless framework to deploy multiple functions.
I don't use the async package as its to big for my project. Deploying lambda functions has a max package size at AWS.

Question
Is it possible to also deploy the methods separate on npm? I don't want to introduce webpack to my small projects just to include some packages.

Package example
@caolanAsync/retry
@caolanAsync/series
@caolanAsync/parallel

@hargasinski
Copy link
Collaborator

hargasinski commented Jun 28, 2018

I believe this option was explored in #984, but it was decided that it is best to keep everything in one package for simplicity. We'll be dropping lodash in v3 (the PR is already merged, see #1528), which should decrease the package size quiet a bit. Will that solve the issue?

@efortes
Copy link
Author

efortes commented Jun 29, 2018

@hargasinski thank you for the answer. For the case I had I solved the problem without using async.
But if I really want this I could use webpack to minimize the size.
Thank you.

@aearly aearly added the question label Jul 1, 2018
@aearly aearly closed this as completed Jul 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants