babili-inplace
v1.0.3
Published
runs babili on the input file and replaces it with the compressed version
Downloads
6
Readme
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 ./*