purgecss-from-pug-with-frontmatter

1.0.0 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i purgecss-from-pug-with-frontmatter

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    1.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • adamkiss