Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly js size is huge (>3MB) in production build

Dear Team ,

I am using Plotly js inside my vue project(javascript) , when I build the files for production I would plotly js file contributing more than 3MB in the final production build copy , is there any way to reduce the size , is there any Tree Shaking mechanism in the plotly , please guide , it is reducing my application’s performance.

Have you tried partial bundles?