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
  • 4 months ago
  • 43 minutes ago
  • 6 years ago

Installs

  • Total 88K
  • Win 54K
  • OS X 24K
  • Linux 10K
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 Jan 9 Jan 8 Jan 7
Windows 1 36 33 20 23 27 35 36 33 30 20 20 39 33 43 40 41 28 22 33 39 33 32 25 20 19 28 39 27 27 40 14 22 38 34 38 28 25 19 21 30 44 43 46 32 20
OS X 0 6 5 2 6 8 11 8 12 10 6 4 12 8 14 11 10 8 6 8 14 9 11 9 4 4 19 11 13 4 12 5 11 9 8 15 11 6 4 7 13 18 16 11 17 6
Linux 0 6 3 2 1 8 4 4 7 6 3 6 4 6 10 4 7 4 4 2 3 6 8 4 5 5 5 7 9 8 4 5 1 5 9 9 5 0 1 2 2 6 12 9 5 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/