8000 let node resolve the node_moduels path · plotly/plotly.js@cbfe10c · GitHub
[go: up one dir, main page]

Skip to content

Commit cbfe10c

Browse files
committed
let node resolve the node_moduels path
1 parent 1192e00 commit cbfe10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function registerTraceModule(_module) {
274274

275275
// add maplibre-gl CSS here to avoid console warning on instantiation
276276
if(bpmName === 'map') {
277-
require('../node_modules/maplibre-gl/dist/maplibre-gl.css');
277+
require('maplibre-gl/dist/maplibre-gl.css');
278278
}
279279

280280
// if `plotly-geo-assets.js` is not included,

0 commit comments

Comments
 (0)
0