Hi, the addition of Bryntum into our product has significantly increased our bundle size, accounting for around 1MB GZipped. (Without Bryntum it is 3.8MB GZipped, with Bryntum 4.7MB). It is causing some problems such as slowing down builds locally and in CI/CD, as well as memory issues.
We are looking at ways to reduce the size and have read through https://bryntum.com/products/grid/docs/guide/Grid/build-production#performance-optimization
We are using Angular so it is not ideal for us to import the vanilla JS files individually. To use the <bryntum-gantt> component we need to add BryntumGanttModule to our imports and that seems to declare every single Bryntum component there, whether they are needed or not. We are using Webpack and I can't tell whether the unused code is getting tree shaken out, or whether it's there bloating the build.
Any advice would be greatly appreciated.