When I reference/include both https://unpkg.com/esri-leaflet@3.0.4/dist/esri-leaflet.js and js.arcgis.com/4.19 into a shared html layout template (templates is used in two separate map pages ), the inclusion of the ESRI JS replace L.esri with something else.
Are there a way to use different global names for the two packages?
Else I will duplicate my layout template.
Any advice would be much appreciated.