README
multi-uglify-js
Batch minify multiple JavaScript files on the command line
This is a very loose wrapper around UglifyJS 3
It aims to replicate as much of the UglifyJS command line behaviour within reason.
⚠️ There may be some bugs around advanced usage of uglify options. Please open an issue or PR if encountered
Install
$ npm install --global multi-uglify-js
Usage
$ multi-uglifyjs --help
Usage
$ multi-uglifyjs [file globs]
Options
--help Print usage information.
--version Print version of multi-uglifyjs lib.
-p, --parse <options> Specify parse options:
https://github.com/mishoo/UglifyJS#parse-options
-c, --compress [options] Enable compressor/specify compressor options.
Options are comma separated and in the form of: "toplevel,sequences=false"
(The former value is defaulting "toplevel" to a true value.)
https://github.com/mishoo/UglifyJS#compress-options
-m, --mangle [options] Mangle names/specify mangler options.
Options are comma separated and in the form of: "eval,reserved=['