Port changes on leaflet directive to minimized version