Sublime JavaScript Minifier is a Sublime Text 2 plugin designed to allow users an easy way to minify a JavaScript file they are working on. It also sports the ability to try and find an existing minified file and alter it based on a configurable list of file name suffixes. For example, when minifying yourFile.js it will look for youFile.min.js or yourFile-min.js.
To install this plugin use the Sublime Text 2 Package Control plugin found at http://wbond.net/sublime_packages/package_control. Start by pressing CTRL + SHIFT + P and find Package Control: Install Package and press Enter. You can search for the JavaScript Minifier plugin by the name of JS Minify.
Once complete you should be able to open a JavaScript file and execute it one of the following ways:
- CTRL + ALT + M
- Right-click -> Adam Presley -> Minify JavaScript
- Tools -> Adam Presley -> Minify JavaScript
Sublime JavaScript Minifier Copyright (C) 2011 Adam Presley
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
adam [at] adampresley [dot] com