Skip to content

Purge content *.html except *.not.html #794

Answered by Ffloriel
ebeloded asked this question in Q&A
Discussion options

You must be logged in to vote

Take a look at the options here: https://purgecss.com/configuration.html#options
The one you are looking for should be skippedContentGlobs , you could have something like

{
    content: ['*.html'],
    skippedContentGlobs: ['*.not.html']
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ebeloded
Comment options

Answer selected by Ffloriel
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