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

YUI Compressor

by leon ST2/ST3

Sublime Text 2 YUI-Compressor plugin

Details

  • 2013.11.26.09.55.18
  • github.​com
  • github.​com
  • 4 years ago
  • 12 hours ago
  • 6 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

YUI-Compressor

Compresses javascript and css using YUI-Compressor http://yuilibrary.com/download/yuicompressor/

Installation

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

Gettings started

Make sure you have java installed and that it's on the path. On linux and OSX it's usually added by default, but on windows you need to add it. http://java.com/en/download/help/path.xml

make sure you can run java -version from the terminal / command prompt.

Open a .js or .css file and press F7 or command + b.

The plugin generates a new files with the extension .min.js or .min.css