Make chart.js dependency optional to reduce file size


Topic: Make chart.js dependency optional to reduce file size

dxl pro asked 6 years ago

My project does not use charts or import ChartModule, but ng-uikit-pro-standard has a dependency chart.js, which is wasting 132KB of file size in the optimized ng bundle.


Damian Gemza staff answered 6 years ago

Dear @dxl 

We've got this problem in our tasks list. We have to investigate it.

We'll add info in our changelog when this problem will be resolved.

Best Regards,

Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No
Tags