-
Hi I am trying to use purgecss via it's webpack plugin to limit the patternfly chunk size. But apparently it removes all css variable declarations on the way. Does anyone have a working example for using purgecss with patternfly? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @mattnolting -- you have been really helpful in https://github.com/orgs/patternfly/discussions/6687, any chance you have some ideas here? |
Beta Was this translation helpful? Give feedback.
-
So it seems like purge css happily removed |
Beta Was this translation helpful? Give feedback.
So it seems like purge css happily removed
:where
and:root
. Slowly getting somewhere by adding:where
and:root
to the safelist for now. Given that:where
is getting removed (iirc) I will revisit once that is done.