From a64bdda9ae42ff39543fcfe16d70c4e064780e92 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Sun, 28 Sep 2014 12:36:36 +0300 Subject: [PATCH] Document `keep_fargs`. Close #557 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c60a124d..f4d82ace 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,10 @@ to set `true`; it's effectively a shortcut for `foo=true`). - `drop_console` -- default `false`. Pass `true` to discard calls to `console.*` functions. +- `keep_fargs` -- default `false`. Pass `true` to prevent the + compressor from discarding unused function arguments. You need this + for code which relies on `Function.length`. + ### The `unsafe` option It enables some transformations that *might* break code logic in certain -- 2.34.1