Sublime Text 2 Html-compressor plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
CSS Compressor.sublime-build
HTML Compressor.sublime-build
JS Compressor.sublime-build
README.md

README.md

HTML Compressor

Compresses html using HTML Compressor. Javascript and css also minified with YUI-Compressor

Installation

Use package control http://wbond.net/sublime_packages/package_control and search for HTML Compressor

Getting started

Chose HTML Compressor as a build system. Build file when ready.

The plugin generates a new file with the extension '.min.html'

Note

To preserve comments from removing after minification use '!'. For example: /*! Comment */

Update

Added two more separate build systems for CSS and JS.

Update

  • Instead of making '.min.html' plugin will put compressed html files in 'compressed' folder
  • Compressor will keep quotes in html files by default
  • Spaces between tags will be removed by default