Closed
Description
Hi!
I've been looking at the effect of the plotly jupyterlab extensions on the final bundle size, and I've made these observations:
- The plotly.js part for a prod build is roughly 17 MB.
- Both
plotly.js/dist/plotly.js
andplotly.js/dist/plotly.min.js
gets included in the final lab bundle (one from plotlywidget and one from jupyterlab-plotly). Both end up taking roughly equal amount of space (6-7 MB) when the lab build is run in prod mode. - Also some parts of the
plotly.js/src
dir gets included (from plotlywidget).
Would it be possible to consolidate the imports in the jupyterlab packages such that only one of the dists gets imported from (and if possible also the src
import)?
Metadata
Metadata
Assignees
Labels
No labels