simonw/datasette-leaflet-freedraw

This still loads Leaflet twice

Open

#5 geöffnet am 25. Jan. 2021

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (19 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

My goal with #3 was to avoid loading Leaflet multiple times. But it looks like the leaflet-freedraw.esm.js file weighs in at 873KB because it includes a full copy of Leaflet itself!

Need to figure out how to build FreeDraw as a separate module that doesn't include Leaflet.

Contributor Guide