Skip to content

Commit cbfe10c

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)