diff options
author | Kara <kara@users.noreply.github.com> | 2017-05-17 19:51:49 -0700 |
---|---|---|
committer | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-18 10:51:49 +0800 |
commit | 6ed90913cae80e55b9575a64a59ef7b1bd06e702 (patch) | |
tree | 442e29b175708bfe59a67dc3905cadde28e9985a | |
parent | 569c21e952c99340db73d6ad1c7102500cc1b341 (diff) | |
download | tracifyjs-6ed90913cae80e55b9575a64a59ef7b1bd06e702.tar.gz tracifyjs-6ed90913cae80e55b9575a64a59ef7b1bd06e702.zip |
fix docs for side_effects flag to reflect current behavior (#1966)
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -552,10 +552,10 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `keep_infinity` -- default `false`. Pass `true` to prevent `Infinity` from being compressed into `1/0`, which may cause performance issues on Chrome. -- `side_effects` -- default `false`. Pass `true` to potentially drop functions -marked as "pure". A function call is marked as "pure" if a comment annotation -`/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For example: -`/*@__PURE__*/foo()`; +- `side_effects` -- default `true`. Pass `false` to disable potentially dropping +functions marked as "pure". A function call is marked as "pure" if a comment +annotation `/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For +example: `/*@__PURE__*/foo()`; ## Mangle options |