diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-02-22 07:27:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 15:27:03 +0800 |
commit | 960668ccdb8a3498ee61387648c457f242cfe29c (patch) | |
tree | 0f8c5113b625037911e6e16a0764c9f3debf9c2c /README.md | |
parent | 55b59407e44bcccf0068d6ae2dc3f446d60809b4 (diff) | |
download | tracifyjs-960668ccdb8a3498ee61387648c457f242cfe29c.tar.gz tracifyjs-960668ccdb8a3498ee61387648c457f242cfe29c.zip |
improve CLI usability (#4670)
closes #3308
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -4,12 +4,11 @@ UglifyJS 3 UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit. #### Note: -- **`uglify-js@3` has a simplified [API](#api-reference) and [CLI](#command-line-usage) - that is not backwards compatible with [`uglify-js@2`](https://github.com/mishoo/UglifyJS/tree/v2.x)**. -- **Documentation for UglifyJS `2.x` releases can be found [here](https://github.com/mishoo/UglifyJS/tree/v2.x)**. -- `uglify-js` supports ECMAScript 5 and some newer language features. -- To minify ECMAScript 2015 or above, you may need to transpile using tools like - [Babel](https://babeljs.io/). +- `uglify-js` supports JavaScript and most language features in ECMAScript. +- For more exotic parts of ECMAScript, process your source file with transpilers + like [Babel](https://babeljs.io/) before passing onto `uglify-js`. +- `uglify-js@3` has a simplified [API](#api-reference) and [CLI](#command-line-usage) + that is not backwards compatible with [`uglify-js@2`](https://github.com/mishoo/UglifyJS/tree/v2.x). Install ------- |