Skip to content

massive bundle size from generated schema  #1026

@gferreri

Description

@gferreri

Client bundle size is massively affected by the size of schema.generated.ts

Analyzing the bundle size of the example project from this repo shows schema.generated.ts as the largest contributor to the client bundle:
image

In a real production use case, the generated schema file is even larger, presumably due to a larger overall server schema:
image

This leads to suboptimal performance and poor performance scores from tools such as Lighthouse for the resulting application.

It's kind of a bummer to initialize a brand new faustJs app and see that you're already in the red for first load JS size.

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