diff --git a/README.md b/README.md index 52c44ccd99..c62d1d273f 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ UglifyJS is a JavaScript parser, minifier, compressor or beautifier toolkit. #### Note: - **`uglify-js@3.x` has a new API and CLI and is not backwards compatible with [`uglify-js@2.x`](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. - **Documentation for UglifyJS `2.x` releases can be found [here](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. -- Release versions of `uglify-js` only support ECMAScript 5 (ES5). If you wish to minify -ES2015+ (ES6+) code then please use the [harmony](#harmony) development branch. -- Node 7 has a known performance regression and runs `uglify-js` twice as slow. +- Release versions of `uglify-js` only support ECMAScript 5 (ES5). +- Those wishing to minify +ES2015+ (ES6+) should use the `npm` package [**uglify-es**](https://github.com/mishoo/UglifyJS2/tree/harmony). Install ------- @@ -717,20 +717,3 @@ Other options: [acorn]: https://github.com/ternjs/acorn [sm-spec]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k - -#### Harmony - -If you wish to use the experimental [harmony](https://github.com/mishoo/UglifyJS2/commits/harmony) -branch to minify ES2015+ (ES6+) code please use the following in your `package.json` file: - -``` -"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony" -``` - -or to directly install the experimental harmony version of uglify: - -``` -npm install --save-dev uglify-js@github:mishoo/UglifyJS2#harmony -``` - -See [#448](https://github.com/mishoo/UglifyJS2/issues/448) for additional details.