cytoscape / ipycytoscape

A Cytoscape Jupyter widget
https://ipycytoscape.readthedocs.io/en/master/
BSD 3-Clause "New" or "Revised" License
269 stars 62 forks source link

Update to Webpack 5 #224

Closed martinRenou closed 2 years ago

martinRenou commented 3 years ago

During the JupyterLab 3 update it might have been better to update to webpack 5 so we are in the same build conditions for the labextension and for the nbextension.

martinRenou commented 3 years ago

Upgrading to Webpack 5 broke Jupyter Notebook support in ipympl/ipyleaflet. It seems like we need to set the publicPath variable in the webpack.config.

It looks like setting publicPath to an empty string fixes it.

martinRenou commented 3 years ago

See https://github.com/matplotlib/ipympl/pull/288