-
Notifications
You must be signed in to change notification settings - Fork 5
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
Build size #27
Comments
Thanks for opening this, I'm actively investigating size issues. I thought it might be cause of Vapor but if you're using Express handler then there's no additional dependencies. Will keep you updated |
I am using Express handler and not explicitly importing Vapor but it is pulled as a dependency package so I'm afraid it still ends up in the final build. |
@s4cha I identified the issue to be the new |
Thanks for working on this! There seems to be a 100MB file size limit on Vercel side and one runs into that wall pretty soon with these extra MBs added on... |
Same issue here ! |
Hey everyone, I'm working on V2 which also reverts the use of Please trying using the |
Unfortunately, I get the same |
I'm running into the same build size limitations (126MB) - and using v2 gives the following build errors:
|
Being able to spawn a Swift API in a few lines of code without worrying about infrastructure is truly a game changer !
I set up a tiny API with a few lines of code.
Whenever I do
swift package --disable-sandbox vercel deploy --prod
it uploads90+MB
.That looks fairly massive for a tiny api. I guess it might come from all the dependencies such as vapor for example. In my case I am using a bare
ExpressHandler
. Would there be a way to shed all the dependencies we don't need from the build to make it lighter ?PS: If I can be of any help let me know, I think this project is incredibly underrated !
The text was updated successfully, but these errors were encountered: