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
  • 12 months ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 104K
  • Win 65K
  • OS X 27K
  • Linux 12K
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 2 10 10 16 7 5 17 10 19 13 16 10 18 13 14 27 24 18 10 11 14 23 15 14 23 9 14 19 15 16 35 18 6 10 14 15 22 22 19 9 12 19 19 21 21 23
OS X 3 10 5 4 2 2 10 3 3 4 5 4 2 6 7 5 2 4 3 2 1 5 9 7 6 1 2 6 11 9 5 6 1 7 4 9 8 4 2 2 3 3 5 8 13 7
Linux 0 5 3 2 0 2 5 4 3 2 2 4 3 2 3 1 2 3 3 2 1 3 1 5 4 3 1 3 2 3 4 1 1 5 3 5 3 2 2 1 4 5 2 2 3 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/