Google PageSpeed Insights recently started flagging the following warning against Google Charts:
Avoid serving legacy JavaScript to modern browsers
Polyfills and transforms enable legacy browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support legacy browsers. Learn why most sites can deploy ES6+ code without transpilingLCPFCP
I am thinking about self-hosting Google Charts open source to address this warning, however I cannot find any documentation on the subject. Does anyone know how to self host Google Charts open source?