Uh oh!
There was an error while loading. Please reload this page.
load plotly.js from unminified dist bundle in plotlywidget - #1891
load plotly.js from unminified dist bundle in plotlywidget#1891jonmmease wants to merge 1 commit into
Conversation
emmanuelle
commented
Nov 11, 2019
So the |
jonmmease
commented
Nov 11, 2019
@nicolaskruchten any thoughts on this. We could use the |
nrbgt
commented
Nov 19, 2019
Perhaps when making this change, please also consider registering the exports in the lab plugin with a lazy load: this will keep it from
Here's how it interacts with the crucial Since it appears to be commonjs, you may have to use the vendor-specific |
nrbgt
commented
Nov 19, 2019
Here's an example with |
vidartf
commented
Nov 20, 2019
@nrbgt While I agree with your point, I believe it should be made as a separate issue. |
nrbgt
commented
Nov 20, 2019
nicolaskruchten
commented
Jan 20, 2020
OK so as I understand it right now, this will bloat the nbextension size because we're not minifying in webpack.config.js. |
With this PR, both
jupyterlab-plotlyandplotlywidgetnow load plotly.js from the unminified dist bundle, so jupyterlab should be able to de-duplicate plotly.js when both extensions are installed.Closes#1873
cc @vidartf