How you import Chart.js decides how many kilobytes the visitor downloads
In a real production build, what is the difference between chart.js/auto and a selective Chart.register() — in kilobytes?
Finding
Selective registration saves 9.7 kB gzip over chart.js/auto (67.8 → 58.1 kB, 14.3%). The larger drop is not in the library core but in leaving unused controllers out: a page that registers only the bar chart falls to 46.0 kB — two thirds of auto.
measured 91 days ago