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 work!

Details

Installs

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

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!