-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
We currently distribute 3 plotly.js bundles:
plotly.jsplotly.min.js(minified version ofplotly.js)plotly-with-meta.js(plotly.jsincluding attribute meta which are otherwise compressed)
All 3 bundles are generated using the same index file in lib/index.js.
For v1.14.0, plotly.min.js includes 14 trace modules and weighs a hefty 1.17 MB. So, it goes without saying that we should start distributing partial bundles. Determining how to split our modules into partial bundles isn't as obvious though.
I propose:
plotly.js,plotly.min.jsandplotly-with-meta.jswill always include all non-beta modulesplotly-basic.jswould includescatter,barandpieplotly-cartesianwould include allcartesianandternarytrace typesplotly-geowould include allgeotrace typesplotly-gl3d.jswould include allgl3dtrace typesplotly-gl2d.jswould include allgl2dtrace types- or maybe a
plotly-gl.jsthat would combine allgl3dandgl2dtrace types plotly-mapbox.jswould include allmapboxtrace types
arikfr and etpinard
Metadata
Metadata
Assignees
Labels
No labels