stereobooster / jekyll-press

🚨 [deprecated] Minifier plugin for jekyll. Minifies all html, js, css files. Simple just drop it in solution. No Java required
MIT License
148 stars 13 forks source link

Minify just CSS and JS (Not HTML) #26

Closed Coysh closed 6 years ago

Coysh commented 8 years ago

The options are limited. Are there any options to compress just the Javascript and CSS, and keep the HTML clean?

rrevanth commented 8 years ago

Hi, seems like dev is not updating,

I actually tried several plugins including this and cannot find a good solution.

I ended up creating rake task for minifying and it is highly customisable.

You can see it at this gist

taxilly commented 8 years ago

You can just add this to your _config.yml

# Minifier
jekyll-press:
  exclude: '*.html'

The wildcard selects all html files and excludes them from the minifier

stereobooster commented 6 years ago

project is deprecated https://github.com/stereobooster/jekyll-press/issues/35