Skip to content

gkovacs/uglify-inplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uglify-inplace

Supply a list of files and they will be uglified in-place. This uses uglify - if you have ES6 code, use babili-inplace instead.

Install

npm install -g uglify-inplace

Usage

Supply a list of files and they will be uglified. For example, the following will overwrite index.js with a minified version.

uglify-inplace index.js

You can also use wildcards. It will only minify Javascript files ending in .js and ignore other files. For example, to uglify all javascipt files in the current directory:

uglify-inplace ./*

Credits

Geza Kovacs

About

Runs uglify to minify javascript code in-place. See https://github.com/gkovacs/babili-inplace if you need ES6 features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published