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

Installs

  • Total 73K
  • Win 44K
  • OS X 20K
  • Linux 9K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10
Windows 41 52 38 36 49 30 30 51 35 46 54 43 25 28 33 49 39 58 61 36 35 40 44 35 50 43 28 27 35 51 42 47 45 29 34 44 39 53 45 32 28 22 44 51 53 39
OS X 13 17 16 19 25 8 7 22 19 23 18 9 8 7 10 13 21 16 27 2 4 16 17 27 10 14 4 12 21 14 12 11 9 6 8 19 13 11 13 17 10 7 10 16 17 16
Linux 6 10 8 5 9 2 7 8 10 12 8 6 2 3 10 7 4 7 3 5 3 3 6 8 4 5 4 11 10 7 5 7 6 7 6 8 5 13 6 4 2 8 9 12 9 11

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/