From ddd5148aa703065fb9fb5db4f39a2b0e55183553 Mon Sep 17 00:00:00 2001 From: Kara Date: Wed, 17 May 2017 17:28:51 -0700 Subject: [PATCH] fix docs for side_effects flag to reflect current behavior --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4d60796b..a2997b7f 100644 --- a/README.md +++ b/README.md @@ -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