You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An ESM file is not included in the Esri Leaflet release: https://unpkg.com/browse/[email protected]/dist/
... but would it be good if we did? I think this would allow users to import ESM directly from CDNs like Unpkg.
Describe the proposed solution
Leaflet releases an ESM build in their dist release. They started doing it at v1.3.2:
Describe the problem
An ESM file is not included in the Esri Leaflet release:
https://unpkg.com/browse/[email protected]/dist/
... but would it be good if we did? I think this would allow users to import ESM directly from CDNs like Unpkg.
Describe the proposed solution
Leaflet releases an ESM build in their
dist
release. They started doing it at v1.3.2:I have not looked into how they are generating it but I assume we could do a similar thing.
Alternatives considered
A workaround is to use the Skypack CDN like this: https://codepen.io/pen?template=wvoKwEv , but adding the ESM file ourselves would give added flexibility.
Additional Information
No response
The text was updated successfully, but these errors were encountered: