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 uploads 90+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 !
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 --prodit 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 !