Skip to content

Build size #27

@s4cha

Description

@s4cha

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions