Skip to content

Runs babili to minify ES6 javascript code in-place. To use uglify instead, see https://github.com/gkovacs/uglify-inplace

Notifications You must be signed in to change notification settings

gkovacs/babili-inplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published