Closed
Description
We currently distribute 3 plotly.js bundles:
plotly.js
plotly.min.js
(minified version ofplotly.js
)plotly-with-meta.js
(plotly.js
including 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.js
andplotly-with-meta.js
will always include all non-beta modulesplotly-basic.js
would includescatter
,bar
andpie
plotly-cartesian
would include allcartesian
andternary
trace typesplotly-geo
would include allgeo
trace typesplotly-gl3d.js
would include allgl3d
trace typesplotly-gl2d.js
would include allgl2d
trace types- or maybe a
plotly-gl.js
that would combine allgl3d
andgl2d
trace types plotly-mapbox.js
would include allmapbox
trace types
Metadata
Metadata
Assignees
Labels
No labels