Skip to content

v1 bundle size increase - provide a build without annotations and TSOA overhead #556

Open
@aeharding

Description

@aeharding

I noticed the bundle size has increased quite a lot since 0.19.

I see that this is due to decorators and the tsoa runtime. Currently in the prod build, I see they're mostly just used for mutating LemmyHttp with the setHeader function.

So I think it might be worth providing an alternative bundle with significantly less overhead. I did some preliminary research, and it is possible to strip the annotations and remove the tsoa runtime for a stripped down build. Would you accept a PR for this?

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