Topic: Remove Chart.js as unused javascript from MDB Pro .tgz file

waiiki free asked 1 year ago

Hello, I am installing the MDB pro package via npm install mdbpackage.tgz from within my project. I am not using the chart.js module, and when analyzing my website performance, I am seeing this:


with a transfer size of 53.5 KiB and potential savings of 45.2 KiB

How can I remove it? npm uninstall chart.js does not appear to do anything

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 5.1.0
  • Device: mac
  • Browser: chrome
  • OS: maverick
  • Provided sample code: No
  • Provided link: No