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

Minifier

by bistory ST2/ST3

Sublime Text CSS and JS minifier.

Details

  • 2017.11.07.09.55.04
  • github.​com
  • github.​com
  • 8 months ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 92K
  • Win 56K
  • OS X 25K
  • Linux 11K
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 May 12 May 11 May 10 May 9 May 8 May 7
Windows 26 23 32 29 13 13 11 20 26 26 21 14 12 19 22 26 25 31 13 26 24 25 22 30 59 18 27 33 21 33 27 33 13 16 23 27 34 36 33 14 15 28 32 20 33 28
OS X 14 8 9 6 5 3 13 16 14 11 6 0 6 8 9 14 9 16 5 5 12 10 13 3 8 2 6 10 14 8 14 7 6 6 20 6 17 13 13 4 2 8 5 12 13 8
Linux 7 8 6 4 3 2 7 2 5 8 14 5 0 1 4 8 5 2 4 1 7 6 4 4 4 3 1 6 5 6 4 5 6 2 4 7 9 8 8 5 2 5 3 3 3 1

Readme

Source
raw.​githubusercontent.​com

A Javascript and CSS Minifier for Sublime Text 2 & 3

The plugin supports Google Closure Compiler for Javascript minification and cssminifier or 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

With the Package Control plugin: The easiest way to install SublimeCodeIntel is through Package Control, which can be found at this site: https://packagecontrol.io/installation

Once you install Package Control, restart Sublime Text and bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows). Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select Minifier when the list appears. The advantage of using this method is that Package Control will automatically keep Minifier up to date with the latest version.

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 or 3 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:

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

ST3: ~/Library/Application Support/Sublime Text 3/Packages/

  • Linux:

ST2 : ~/.Sublime Text 2/Packages/

ST3 : ~/.Sublime Text 3/Packages/

  • Windows:

ST2 : %APPDATA%/Sublime Text 2/Packages/

ST3 : %APPDATA%/Sublime Text 3/Packages/