Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 735 Bytes

readme.md

File metadata and controls

28 lines (17 loc) · 735 Bytes

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