Hosting a local CDN for plotly

Would it be possible to allow for hosting a local CDN for the javascript plotly code when using the Jupyter notebook?

Right now initializing plotly using the jupyter notebook injects several MB into the notebook. This is understandable, but would it be possible to host a local CDN for the plotly js code and resources?