nicolafranchini/VenoBox

venobox.css does not behave well with tailwind/purgecss

divinerites opened this issue · 1 comments

When I use tailwind/purgecss on venobox.css the result is broken my site.

Anyone has experienced a working config for purgecss on venobox.css ? Thanks in advance.

my setup

This is the solution if it can helps. You have to whitelist this in tailwind.config.js

options: {
         safelist: [
            // pour venobox (Tested OK)
            /data-autoplay/,
            /data-vbtype/,
            /venoframe/,
            /vbvid/,
            /vbox-open/,
            /vbox-overlay/,