1.0.3 • Published 7 years ago

babili-inplace v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

babili-inplace

Supply a list of files and they will be minified via babili in-place. If your code does not use ES6 features, also consider uglify-inplace

Install

npm install -g babili-inplace

Usage

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

babili-inplace index.js

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

babili-inplace ./*

Credits

Geza Kovacs