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

Minifier

by bistory ST2/ST3

Sublime Text CSS and JS minifier.

Details

  • 2013.09.26.08.20.50
  • github.​com
  • github.​com
  • 4 years ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 78K
  • Win 47K
  • OS X 22K
  • Linux 9K
Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 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
Windows 24 41 22 17 42 35 54 43 35 17 31 36 37 33 46 33 21 23 23 51 33 42 28 27 28 39 35 35 37 24 17 17 41 36 39 38 41 30 23 36 38 36 55 43 20 19
OS X 10 13 6 3 10 10 11 26 12 7 11 20 15 9 14 10 3 4 15 13 12 25 17 8 1 20 9 12 16 14 8 6 12 17 15 10 13 7 1 13 15 14 12 12 4 3
Linux 7 6 4 4 5 7 4 9 4 2 3 7 4 8 11 7 6 7 9 12 2 4 4 3 3 5 4 6 10 2 1 1 2 7 3 6 8 3 3 4 6 6 7 6 6 4

Readme

Source
raw.​githubusercontent.​com

A Javascript and CSS Minifier for Sublime Text 2

The plugin supports the Google Closure Compiler and UglifyJS compilers for Javascript minification and cssminifier and Reducisaurus for CSS minification.

This module was forked from JsMinifier.

Usage

Windows / Linux default key binding:
ctrl + alt + m - attempts to minify the current buffer and replaces the buffers content
ctrl + alt + shift + m - attempts to minify the current buffer and saves the output to a separate file.

MacOSX default key binding:
⌘ + alt + m - attempts to minify the current buffer and replaces the buffers content
⌘ + alt + shift + m - attempts to minify the current buffer and saves the output to a separate file.

Installation

Without Git: Download the latest source from GitHub and copy the whole directory into the Packages directory. Make sure folder name is “Minifier”.

With Git: Clone the repository in your Sublime Text 2 Packages directory, located somewhere in user's “Home” directory:

`git clone git://github.com/bistory/Sublime-Minifier.git`

The “Packages” packages directory is located at:

  • OS X:

    ~/Library/Application Support/Sublime Text 2/Packages/

  • Linux:

    ~/.Sublime Text 2/Packages/

  • Windows:

    %APPDATA%/Sublime Text 2/Packages/