add comment about quote_style and gzip (#2092)
authorkzc <kzc@users.noreply.github.com>
Wed, 14 Jun 2017 04:23:03 +0000 (00:23 -0400)
committerAlex Lam S.L <alexlamsl@gmail.com>
Wed, 14 Jun 2017 04:23:03 +0000 (12:23 +0800)
README.md

index 039bc63..de2c2c9 100644 (file)
--- 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