1.0.0 • Published 4 years ago
purgecss-from-pug-with-frontmatter v1.0.0
PurgeCSS: Pug extractor for Pug with frontmatter
I often use Pug with 11ty, which uses frontmatter for additional data and settings for pages, which in turn greatly confuses the default Pug extractor. This is a simple module that brings together Gray Matter and PurgeCSS from Pug Extractor, and uses the extract method only on the content part of pug file.
Installation
npm i purgecss-from-pug-with-frontmatter
License
ISC
1.0.0
4 years ago