VineCode / JsMin.novaextension

MIT License
0 stars 1 forks source link

JsMin Extension for Nova

Automatically minify js files on save. Menu options to Compress, Mangle or Beautify current script.

Requirements

Before using this extension, you must ensure that uglifyjs is installed on your system.

UglifyJS Install

  1. Install Node.
    1. Via the Node website
    2. or using Homebrew brew install node
  2. Via Terminal run npm install uglify-es -g

Extension Installation

  1. Open Nova.
  2. Choose menu Extensions > Extension Library...
  3. Search extension NovaJsMin
  4. Click Install.

Preferences

Minify on Save
Yes, No
Automatically minify .js files on save

Mangle
Yes, No
Mangle names

Generate Source Map
Yes, No
Enable source map file generation

Executable Path
/path/to/uglifyjs
Manually enter or select the uglifyjs binary location.