We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1192e00 + cb2744e commit 8b7805dCopy full SHA for 8b7805d
draftlogs/7146_fix.md
@@ -0,0 +1 @@
1
+- Fix require path to maplibre-gl.css [[#7146](https://github.com/plotly/plotly.js/pull/7146)]
src/registry.js
@@ -274,7 +274,7 @@ function registerTraceModule(_module) {
274
275
// add maplibre-gl CSS here to avoid console warning on instantiation
276
if(bpmName === 'map') {
277
- require('../node_modules/maplibre-gl/dist/maplibre-gl.css');
+ require('maplibre-gl/dist/maplibre-gl.css');
278
}
279
280
// if `plotly-geo-assets.js` is not included,
0 commit comments