Skip to content

Larger bundle size with new defaults #400

Description

@bollerdominik

We have a large Angular App with many generated endpoints

I finally did the switch from

{
  "services": true,
  "promises": false,
  "apiService": "",
  "enumStyle": "pascal",
  "enumArray": false
}

to the new defaults

{
  "promises": false,
  "enumStyle": "pascal",
  "enumArray": false
}

To my surprise, the bundle size increased by about 20% after this change. I still do not understand why this happens.

Because this change only reduces the number of injected services, I expected the bundle size to stay the same or decrease, not increase.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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