Leaflet/docs/_plugins/frameworks-build-systems/leafletdefaulticoncompatibility.md

987 B

name category repo author author-url demo compatible-v0 compatible-v1 compatible-v2
leaflet-defaulticon-compatibility frameworks-build-systems https://github.com/ghybs/leaflet-defaulticon-compatibility ghybs https://github.com/ghybs https://ghybs.github.io/leaflet-defaulticon-compatibility/webpack-demo.html true false

Retrieve all Leaflet Default Icon options from CSS, in particular all icon images URL's, to improve compatibility with bundlers and frameworks that modify URL's in CSS. In particular for webpack (with style-, css-, file- and url-loader's), Rails Asset Pipeline and Django pipeline. Should solve all use cases linked to issue Leaflet/Leaflet #4968. Demo with webpack (and without this plugin).