-
Notifications
You must be signed in to change notification settings - Fork 26
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
100 MB in dependencies is way too much! #254
Comments
@rmberrios I'm running a project with these dependencies:
I'm using voxa: 3.3.0 and when I zip my code I get a 17.1 MB zipped file. I remember we had an issue when Voxa included samples and even the documentation files. That made a voxa project to have a really big size as you described, but it was fixed with this PR: Which solved the issue: #217 |
@omenocal See the folder without compression. Lambda size is based on the folder without compression. |
Oh ok, I misunderstood the maximum size of the zipped file which is 75MB in Lambda |
We should probably remove the botframework stuff, don't think anyone uses it and it's pretty outdated because of that. Also mark googleapis actions-on-google and ask-sdk-model as peer dependencies, those seem to be the biggest culprits of package cruft. Also, i've been thinking about actually splitting voxa to for example not require google stuff if you're just working with alexa and viceversa, however that seems like it would be a breaking change and lots of work to be honest |
Perhaps update with scoped dependencies? So only parts of Voxa can be imported if needed? https://stackoverflow.com/a/36667439 |
Is there a way we can reduce the number of dependencies?
actions-on-google
has 49MB andgoogleapis
has 44 MB.This issue is really troublesome due to lambda size limit of 250 MB
The text was updated successfully, but these errors were encountered: