Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor

jekyll-minifier Gem Version

Minifies HTML, XML, CSS, and Javascript both inline and as separate files utilising yui-compressor and htmlcompressor.

This was created due to the previous minifier (jekyll-press) not being CSS3 compatible, which made me frown.

Note: this is my first ever gem, I'm learning, so feedback is much appreciated.

Easy to use, just install the jekyll-minifier gem:

gem install jekyll-minifier

Then add this to your _config.yml:

    - jekyll-minifier

Optionally, you can also add exclusions using:

  exclude: 'atom.xml' # Exclude files from processing - file name, glob pattern or array of file names and glob patterns