Open maartenbreddels opened 5 years ago
FYI: A nice tool to see your dependency graph is to use webpack --profile --json > stats.json
and then analyse it e.g. with https://webpack.github.io/analyse/#modules
Thanks vidar, i've done that, and it would be a good topic for the dashboarding workshop to look into together with some of the Jupyter lab people!
I'm doing quite a bit of work on this on the jupyterlab repo now before the 1.0, so hopefully some of this will be magically fixed ;)
As mentioned in #145 it would be nice to split the controls bundle off, and in #134 it was mentioned that the webpack bundle takes a long time to assemble.
Via the
@jupyter-widgets/jupyterlab-manager
we pull in@jupyter-widgets/controls
, and viajupyterlab
we pull in evenblueprintjs
. I don't think we want the manager to pull in all this, including the css of for instance blueprintjs (which will eventually bite us by giving css collisions).To give an example, if I remove rules from webpack, I can see how blueprint comes in:
Should we revert the JupyterLab manager to the HTMLManager again to avoid this?