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

Installs

  • Total 71K
  • Win 42K
  • OS X 20K
  • Linux 9K
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 6 45 32 28 22 44 51 53 39 63 31 35 43 40 47 43 33 13 13 37 25 39 47 24 22 26 38 38 53 42 37 14 23 39 40 55 48 40 24 22 26 51 40 40 42 25
OS X 0 13 17 10 7 10 16 17 16 7 8 6 16 14 18 14 5 4 10 11 15 12 13 8 7 9 12 11 14 9 10 6 13 14 15 12 13 13 8 4 6 19 18 15 9 7
Linux 2 6 4 2 8 9 12 9 11 6 6 2 6 10 5 5 6 1 6 6 4 5 8 4 3 3 8 5 11 8 8 3 3 7 4 5 6 5 1 10 7 8 7 3 2 6

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/