8000 Inline maplibre css from node_modules by birkskyum · Pull Request #7140 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Inline maplibre css from node_m 8000 odules #7140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Get maplibre css from node_modules
  • Loading branch information
birkskyum committed Sep 3, 2024
commit b6fa62aca39b949b98cb12ad5a354728d5b43d8a
2 changes: 1 addition & 1 deletion src/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function registerTraceModule(_module) {

// add maplibre-gl CSS here to avoid console warning on instantiation
if(bpmName === 'map') {
addCss('https://unpkg.com/maplibre-gl@^4.3.2/dist/maplibre-gl.css');
addCss('/node_modules/maplibre-gl/dist/maplibre-gl.css');
}

// if `plotly-geo-assets.js` is not included,
Expand Down
0