caffeinum / brackets-minifier

Minify JavaScript and CSS files in Brackets with YUI and UglifyJS2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minifier for Brackets

Minifies JavaScript and CSS files in Brackets and saves to {filename}.min.{ext} using UglifyJS2 (for JavaScript) and YUI (for CSS).

Installation

  1. Run Brackets
  2. Select File > Install Extension...
  3. Enter https://github.com/alfredxing/brackets-minifier/archive/master.zip as Extension URL.
  4. Click Install to begin downloading and installing the extension.

Alternative method

Clone this repository into ~/Library/Application Support/Brackets/extensions/user/ and restart Brackets.

Usage

To minify a file, use the keyboard shortcut Cmd/Ctrl+M. You can also minify files on save by checking the corresponding item in the Edit menu.

About

Minify JavaScript and CSS files in Brackets with YUI and UglifyJS2

License:MIT License