From: kzc Date: Wed, 14 Jun 2017 04:23:03 +0000 (-0400) Subject: add comment about quote_style and gzip (#2092) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=da2de350c3c59fa90665ed68ae0f41f8d77f50d8;p=UglifyJS.git add comment about quote_style and gzip (#2092) --- diff --git a/README.md b/README.md index 039bc638..de2c2c95 100644 --- a/README.md +++ b/README.md @@ -766,7 +766,7 @@ can pass additional arguments that control the code output: - `quote_style` (default `0`) -- preferred quote style for strings (affects quoted property names and directives as well): - `0` -- prefers double quotes, switches to single quotes when there are - more double quotes in the string itself. + more double quotes in the string itself. `0` is best for gzip size. - `1` -- always use single quotes - `2` -- always use double quotes - `3` -- always use the original quotes