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:
../../../node_modules/chart.js/dist/chart.mjs
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
Add comment
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
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