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

Minifier

by bistory ST2/ST3

Sublime Text CSS and JS minifier.

Details

  • 2018.11.12.14.42.36
  • github.​com
  • github.​com
  • 5 months ago
  • 26 minutes ago
  • 7 years ago

Installs

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

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/