Minifier plugin for jekyll. Minifies all html, js, css files. Simple just drop it in solution. No Java required.
This plugin:
Gulp based workflow see: sondr3/generator-jekyllized
Add this line to your application's Gemfile
:
gem 'jekyll-press'
And then execute:
$ bundle
Execute:
$ gem install jekyll-press
Create the following plugin in your projects _plugins directory.
# _plugins/bundler.rb
require "rubygems"
require "bundler/setup"
Bundler.require(:default)
This will automatically require all of the gems specified in your Gemfile.
Create the following plugin in your projects _plugins directory.
# _plugins/jekyll-press-plugin.rb
require 'jekyll-press'
jekyll-press:
exclude: 'atom.xml' # Exclude files from processing - file name, glob pattern or array of file names and glob patterns
js_options: {} # js minifier options
css_options: {} # css minifier options
html_options: {} # html minifier options
jpegtran
or smush.it
(smusher)optipng
or smush.it
(smusher)git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)