We are using kendo-chart type= donut in our apllication.
We also use WebPack, It seems that the chart module slow's the application build allot.
I tried importing only ChartModule and not the entire one ( ChartsModule)
Any ideas how to fix the issue?
1 Answer, 1 is accepted
answered on 03 Dec 2018, 08:34 AM
The Chart component comprises of many sub-component, that slow down the build. In our benchmarks, it adds 5 seconds on average to development builds (ng serve) and 30 seconds to production builds (ng build --prod). We're researching solutions to reduce this impact, but for the moment we have no specific ideas to act on. Future improvements in the Angular framework, such as the Ivy compiler may also improve the performance for in general.
One possible improvement is to include only the styles for the components in use, as described in the Customizing Themes. This is applicable to other components as well.
/* You can add global styles to this file, and also import other style files */