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
  • 1 hour ago
  • 5 years ago

Installs

  • Total 37K
  • Win 25K
  • OS X 9K
  • Linux 3K
May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12
Windows 7 16 19 25 13 17 7 13 14 23 17 19 16 9 9 17 21 11 23 17 11 5 4 15 15 11 7 5 8 15 17 19 20 18 8 11 22 16 21 19 15 6 6 16 12 13
OS X 0 4 3 7 6 1 2 2 2 6 7 5 1 2 0 1 4 3 5 5 3 2 0 1 6 2 4 3 4 2 6 4 5 8 0 1 4 7 4 2 1 2 3 3 4 9
Linux 0 0 3 1 0 2 1 0 1 0 0 2 1 0 3 1 2 2 1 1 0 1 0 2 2 1 3 1 0 2 1 2 0 1 0 1 0 1 0 1 0 0 0 0 0 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