ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTML Compressor

by pmburov ST2/ST3 Missing

Sublime Text 2 Html-compressor plugin

Details

  • 2013.05.02.11.47.22
  • github.​com
  • github.​com
  • 6 years ago
  • 5 days ago
  • 7 years ago

Installs

  • Total 24K
  • Win 16K
  • OS X 5K
  • Linux 3K
Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8
Windows 0 0 0 0 0 1 8 5 8 7 5 1 9 6 8 8 7 2 4 7 6 4 5 3 5 6 6 5 8 4 4 1 2 1 8 9 8 1 4 5 7 4 6 2 4 5
OS X 0 0 0 0 0 1 1 1 1 0 0 1 1 2 1 1 1 0 0 0 0 0 0 2 0 1 0 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 2 0 0
Linux 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 5 0 2 0 0 1 0 0 1 0 0 0 0 2 0 0 0 1 1 1 1 1 0 1 0 2 0 1 1 1 0

Readme

Source
raw.​githubusercontent.​com

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