1.0.2 • Published 9 years ago
uglify-inplace v1.0.2
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 ./*