mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-12-08 21:26:14 +00:00
14 lines
987 B
Markdown
14 lines
987 B
Markdown
---
|
|
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 <a href="https://github.com/Leaflet/Leaflet/issues/4968">issue Leaflet/Leaflet #4968</a>. <a href="https://ghybs.github.io/leaflet-defaulticon-compatibility/webpack-demo.html">Demo with webpack</a> (and <a href="https://ghybs.github.io/leaflet-defaulticon-compatibility/webpack-demo.html?demo=no-plugin">without this plugin</a>).
|