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 75K
  • Win 45K
  • OS X 21K
  • Linux 9K
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 25 21 39 62 44 51 40 26 26 34 54 52 31 42 19 26 45 44 41 49 26 16 29 33 41 50 49 53 16 35 34 55 48 48 45 35 22 50 46 40 44 46 24 32 48 43
OS X 9 5 9 15 20 17 8 1 9 8 12 16 10 20 3 8 13 9 13 11 10 5 6 14 16 14 15 11 12 2 21 13 19 14 10 7 5 19 18 20 17 23 5 3 13 10
Linux 3 6 3 5 6 10 7 5 2 7 4 5 4 8 3 4 7 9 10 7 5 4 6 7 11 4 6 4 6 3 8 5 4 4 5 2 2 6 7 5 8 6 5 5 7 7

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/