simonw/datasette-leaflet-freedraw

This still loads Leaflet twice

Open

#5 aperta il 25 gen 2021

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (2 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (19 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor