Minifier
Sublime Text CSS and JS minifier.
Details
Installs
- Total 123K
- Win 76K
- Mac 32K
- Linux 14K
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 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 5 | 7 | 8 | 2 | 4 | 8 | 3 | 0 | 1 | 3 | 7 | 3 | 2 | 4 | 4 | 5 | 3 | 2 | 5 | 11 | 6 | 3 | 3 | 6 | 2 | 4 | 4 | 2 | 2 | 8 | 8 | 6 | 6 | 5 | 4 | 2 | 2 | 3 | 4 | 6 | 6 | 3 | 6 | 1 | 5 | 11 |
Mac | 0 | 0 | 2 | 2 | 1 | 5 | 1 | 1 | 0 | 3 | 2 | 1 | 0 | 2 | 1 | 0 | 3 | 1 | 1 | 2 | 1 | 1 | 1 | 3 | 3 | 2 | 1 | 1 | 3 | 0 | 1 | 3 | 2 | 7 | 1 | 2 | 2 | 3 | 0 | 1 | 7 | 3 | 2 | 1 | 3 | 3 |
Linux | 0 | 2 | 0 | 2 | 2 | 2 | 1 | 1 | 2 | 0 | 0 | 1 | 2 | 1 | 1 | 0 | 5 | 2 | 2 | 1 | 1 | 1 | 0 | 3 | 0 | 4 | 2 | 3 | 0 | 1 | 1 | 2 | 0 | 1 | 2 | 0 | 1 | 2 | 2 | 4 | 0 | 1 | 2 | 1 | 2 | 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/