Skip to content

PurgeCSS > add classes to safelist / whitelist #63

Answered by keeslina
keeslina asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Jeffrey,

Just found out that this also seems to work:

purge: {
               safelist: [
            'bg-lichtroze',
            'bg-roze',
            'bg-paars'
        ]
    },

So not wrapping the safelist in an options container.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by keeslina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #62 on September 22, 2021 14:32.