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

Minifier

by bistory ALL

Sublime Text CSS and JS minifier.

Details

  • 2018.11.12.14.42.36
  • github.​com
  • github.​com
  • 6 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 125K
  • Win 77K
  • Mac 33K
  • Linux 15K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 1 2 4 4 8 1 1 0 3 2 6 3 1 1 3 8 2 5 2 1 1 0 1 2 2 1 1 3 6 4 1 3 3 0 0 6 4 3 6 4 0 5 0 3 4
Mac 0 1 1 0 2 2 0 0 1 0 0 4 1 0 0 0 1 0 0 4 0 1 2 1 1 2 2 0 2 1 0 0 3 1 0 0 2 1 3 0 1 0 0 0 2 2
Linux 0 2 1 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 2 1 0 1 0 0

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/