1

Compress Jekyll assets by YUI compressor.

This commit is contained in:
vonavi 2014-01-24 20:19:54 +02:00
parent c0e9e189a0
commit aa1c96bf6f
3 changed files with 14 additions and 0 deletions

View File

@ -5,3 +5,4 @@ gem 'pygments.rb', '~> 0.5.4'
gem 'jekyll-assets' gem 'jekyll-assets'
gem 'less' gem 'less'
gem 'therubyracer' gem 'therubyracer'
gem 'yui-compressor'

View File

@ -63,6 +63,7 @@ GEM
toml (0.1.0) toml (0.1.0)
parslet (~> 1.5.0) parslet (~> 1.5.0)
yajl-ruby (1.1.0) yajl-ruby (1.1.0)
yui-compressor (0.12.0)
PLATFORMS PLATFORMS
ruby ruby
@ -73,3 +74,4 @@ DEPENDENCIES
less less
pygments.rb (~> 0.5.4) pygments.rb (~> 0.5.4)
therubyracer therubyracer
yui-compressor

View File

@ -10,3 +10,14 @@ keep_files: ['.gitkeep']
encoding: UTF-8 encoding: UTF-8
markdown: redcarpet markdown: redcarpet
gems: ['jekyll-assets'] gems: ['jekyll-assets']
#
# Plugin: jekyll-assets
#
assets:
#
# Sets compressors. No compression by default.
#
compress:
js: yui
css: yui