[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)

Frank Elsinga notifications at github.com
Thu Jan 29 18:53:25 UTC 2026


@CommanderStorm commented on this pull request.



> @@ -7,12 +7,14 @@
 //= require osm
 //= require leaflet/dist/leaflet-src
 //= require leaflet.osm
+//= require maplibre-gl/dist/maplibre-gl

If I add a duplicate require of some global `const foo = 1;`, this will cause an error.

This leads me to beleve that sprocket does not deduplicate.

Maybe @pablobm can chime in 😉

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6683#discussion_r2743051042
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3724450599 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260129/3676a440/attachment.htm>


More information about the rails-dev mailing list