Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

wGEric/Komodo-UglifyJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Implements UglifyJS into Komodo.

Install

Download the lastest version and open with Komodo or follow these instructions

Use

Goto to Tools -> UglifyJS and select an option.

  • Compress Saved JS File takes a .js file and compresses it into a new file with the same name but ending in .min.js
  • Compress Current Buffer takes the contents of the current buffer and compresses it.
  • Compress Selection takes the current selection and compresses it.

Macro

You can create a macro that will automatically compress a JavaScript file when you save. Use the following code and have it trigger After file save:

if (extensions.uglify) {
    extensions.uglify.compressFile();
}

Change Log

1.1.0

  • Updated UglifyJS compressor to v1.2.5
  • Added support for saving remote files
  • Added a preference pane to choose the file extension (.min.js) and disable debug messages when saving files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published