table of contents
other versions
- buster 3.4.9-5
- buster-backports 3.12.7-1~bpo10+1
- testing 3.12.8-1
- unstable 3.13.4-1
conflicting packages
UGLIFY-JS(1) | User Commands | UGLIFY-JS(1) |
NAME¶
uglify-js - JavaScript parser, mangler/compressor and beautifier toolkitDESCRIPTION¶
- Usage: uglifyjs [options] [files...]
- Options:
- -V, --version
- output the version number
- -p, --parse <options>
- Specify parser options.
- -c, --compress [options]
- Enable compressor/specify compressor options.
- -m, --mangle [options]
- Mangle names/specify mangler options.
- --mangle-props [options]
- Mangle properties/specify mangler options.
- -b, --beautify [options]
- Beautify output/specify output options.
- -o, --output <file>
- Output file (default STDOUT).
- --comments [filter]
- Preserve copyright comments in the output.
- --config-file <file>
- Read minify() options from JSON file.
- -d, --define <expr>[=value]
- Global definitions.
- -e, --enclose [arg[,...][:value[,...]]]
- Embed everything in a big function, with configurable argument(s) & value(s).
- --ie8
- Support non-standard Internet Explorer 8.
- --keep-fnames
- Do not mangle/drop function names. Useful for code relying on Function.prototype.name.
- --name-cache <file>
- File to hold mangled name mappings.
- --rename
- Force symbol expansion.
- --no-rename
- Disable symbol expansion. (default: true)
- --self
- Build UglifyJS as a library (implies --wrap UglifyJS)
- --source-map [options]
- Enable source map/specify source map options.
- --timings
- Display operations run time on STDERR.
- --toplevel
- Compress and/or mangle variables in toplevel scope.
- --verbose
- Print diagnostic messages.
- --warn
- Print warning messages.
- --wrap <name>
- Embed everything as a function with ???exports??? corresponding to ???name??? globally.
- -h, --help
- output usage information
February 2019 | uglify-js 3.4.9 |