fix docs for side_effects flag to reflect current behavior (#1966)
This commit is contained in:
@@ -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
|
- `keep_infinity` -- default `false`. Pass `true` to prevent `Infinity` from
|
||||||
being compressed into `1/0`, which may cause performance issues on Chrome.
|
being compressed into `1/0`, which may cause performance issues on Chrome.
|
||||||
|
|
||||||
- `side_effects` -- default `false`. Pass `true` to potentially drop functions
|
- `side_effects` -- default `true`. Pass `false` to disable potentially dropping
|
||||||
marked as "pure". A function call is marked as "pure" if a comment annotation
|
functions marked as "pure". A function call is marked as "pure" if a comment
|
||||||
`/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For example:
|
annotation `/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For
|
||||||
`/*@__PURE__*/foo()`;
|
example: `/*@__PURE__*/foo()`;
|
||||||
|
|
||||||
## Mangle options
|
## Mangle options
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user