Adam Hammes

Results 2 comments of Adam Hammes

Hey @JakubRobotka, I also have a project using leaflet and purgecss. What worked for me was to use the [`whitelistPatterns` options](https://github.com/FullHuman/purgecss-docs/blob/master/whitelisting.md#patterns), with these two specific patterns: ```js whitelistPatterns: [/leaflet/, /marker/],...

I temporarily closed the issue because Github ate my description, but it's all good now! Hoping there's an easy fix :-)