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
npm install -g babili-inplaceSupply a list of files and they will be uglified. For example, the following will overwrite index.js with a minified version.
babili-inplace index.jsYou 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 ./*