--- name: leaflet-defaulticon-compatibility category: frameworks-build-systems repo: https://github.com/ghybs/leaflet-defaulticon-compatibility author: ghybs author-url: https://github.com/ghybs demo: https://ghybs.github.io/leaflet-defaulticon-compatibility/webpack-demo.html compatible-v0: compatible-v1: true compatible-v2: 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).