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.
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.