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

Minify on Save

by eltonvs ST2/ST3

Sublime plugin to minify .js and .css files when saved. Needs minifier plugin to works!

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 772
  • Linux 324
Jan 20 Jan 19 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
Windows 0 7 2 1 5 1 3 1 6 3 3 5 2 1 1 2 4 3 3 0 2 0 6 3 2 1 1 2 1 0 4 5 1 2 1 1 4 1 2 0 2 0 1 1 3 3
OS X 1 1 0 0 0 0 1 3 1 2 1 1 2 1 1 0 2 2 0 0 1 0 1 0 1 0 0 0 0 1 3 2 1 0 1 2 0 1 5 1 0 0 1 0 0 1
Linux 0 0 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 2 1 2 1 2 0 0 0 1 3

Readme

Source
raw.​githubusercontent.​com

Sublime minify on save

It is a sublime plugin to minify .js and .css file when you save them.

Requirements

To work, you need to have the Minifier plugin already installed on your sublime.

Installation

a) Install Minify on Save via Package Control (RECOMMENDED):
First install Package Control - see installation instructions
Then, inside Sublime Text press ctrl + shift + p (super + shift + p on Mac OS X) and find Package Control: Install Package then press Enter.
You just need to search for the Minify on Save package and install-it (pressing Enter).

b) Alternatively, you can install Minify on Save from GitHub directly (NOT RECOMMENDED):
on Mac OS X:
git clone git://github.com/eltonvs/sublime-minify-on-save.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Minify
Note: Replace "Sublime\ Text\ 3" with "Sublime\ Text\ 2" in the above command if you are using Sublime Text 2.
on Windows:
git clone git://github.com/eltonvs/sublime-minify-on-save.git %APPDATA%\Sublime Text 3\Packages\Minify
Note: Replace "Sublime Text 3" with "Sublime Text 2" in the above command if you are using Sublime Text 2.

Contribute

A lot of things can be improved on this plugin, make it better, feel free to contribute!

That's all, Folks!