toplevel shorthand for ecma (#2157)

This commit is contained in:
Alex Lam S.L
2017-06-24 19:06:58 +08:00
committed by GitHub
parent 94f93ad82d
commit 49f3de8397
3 changed files with 8 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ a double dash to prevent input files being used as option arguments:
sequences.
--config-file <file> Read `minify()` options from JSON file.
-d, --define <expr>[=value] Global definitions.
--ecma <version> Specifiy ECMAScript release: 5, 6, 7 or 8.
--ie8 Support non-standard Internet Explorer 8.
Equivalent to setting `ie8: true` in `minify()`
for `compress`, `mangle` and `output` options.