jekyll-uncss

By episource

A Jekyll plugin that uses uncss to remove unused css rules in selected stylesheets

To install, you must copy the necessary files from the repository to your Jekyll site. Further installation instructions are available in the repository's README.

Once installed, run Jekyll like normal.

Source code