diff --git a/draftlogs/7146_fix.md b/draftlogs/7146_fix.md new file mode 100644 index 00000000000..7cb663a6834 --- /dev/null +++ b/draftlogs/7146_fix.md @@ -0,0 +1 @@ +- Fix require path to maplibre-gl.css [[#7146](https://github.com/plotly/plotly.js/pull/7146)] diff --git a/src/registry.js b/src/registry.js index 3cde30fa772..253f850043e 100644 --- a/src/registry.js +++ b/src/registry.js @@ -274,7 +274,7 @@ function registerTraceModule(_module) { // add maplibre-gl CSS here to avoid console warning on instantiation if(bpmName === 'map') { - require('../node_modules/maplibre-gl/dist/maplibre-gl.css'); + require('maplibre-gl/dist/maplibre-gl.css'); } // if `plotly-geo-assets.js` is not included,
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: