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

Installs

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