Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 337 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 337 Bytes

jekyll-js-minify-plugin

A Jekyll plugin that automatically minifies all Javascript files using the Google Closure Compiler

Usage

gem install 'closure-compiler'
cp jsminify.rb YOUR_JEKYLL_DIR/_plugins/

That's it. All files ending in .js will be minified. Files ending in .min.js will be skipped. It's almost magical.