From 487ae8e3becdea67d969950ce5ba8eecb7fb2a9e Mon Sep 17 00:00:00 2001 From: kzc Date: Wed, 10 May 2017 04:38:10 -0400 Subject: [PATCH] change `harmony` references to `uglify-es` in README (#1902) --- README.md | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index d15f114c..33a1c682 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,8 @@ There's also an Chrome and probably Safari). #### Note: -- 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. +- `uglify-js` only supports ECMAScript 5 (ES5). +- Those wishing to minify ES2015+ (ES6+) should use the `npm` package [**uglify-es**](https://github.com/mishoo/UglifyJS2/tree/harmony). Install ------- @@ -29,12 +28,6 @@ From NPM for programmatic use: npm install uglify-js -From Git: - - git clone git://github.com/mishoo/UglifyJS2.git - cd UglifyJS2 - npm link . - Usage ----- @@ -982,20 +975,3 @@ The `source_map_options` (optional) can contain the following properties: [codegen]: http://lisperator.net/uglifyjs/codegen [compressor]: http://lisperator.net/uglifyjs/compress [parser]: http://lisperator.net/uglifyjs/parser - -#### 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.