Compress Jekyll assets by YUI compressor.
This commit is contained in:
parent
c0e9e189a0
commit
aa1c96bf6f
1
Gemfile
1
Gemfile
@ -5,3 +5,4 @@ gem 'pygments.rb', '~> 0.5.4'
|
||||
gem 'jekyll-assets'
|
||||
gem 'less'
|
||||
gem 'therubyracer'
|
||||
gem 'yui-compressor'
|
||||
|
@ -63,6 +63,7 @@ GEM
|
||||
toml (0.1.0)
|
||||
parslet (~> 1.5.0)
|
||||
yajl-ruby (1.1.0)
|
||||
yui-compressor (0.12.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@ -73,3 +74,4 @@ DEPENDENCIES
|
||||
less
|
||||
pygments.rb (~> 0.5.4)
|
||||
therubyracer
|
||||
yui-compressor
|
||||
|
11
_config.yml
11
_config.yml
@ -10,3 +10,14 @@ keep_files: ['.gitkeep']
|
||||
encoding: UTF-8
|
||||
markdown: redcarpet
|
||||
gems: ['jekyll-assets']
|
||||
|
||||
#
|
||||
# Plugin: jekyll-assets
|
||||
#
|
||||
assets:
|
||||
#
|
||||
# Sets compressors. No compression by default.
|
||||
#
|
||||
compress:
|
||||
js: yui
|
||||
css: yui
|
||||
|
Loading…
Reference in New Issue
Block a user