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
  • 5 years ago
  • 3 hours ago
  • 7 years ago

Installs

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

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