From a7a890a24afb3de3a07a981d99c7e5f183b1f10d Mon Sep 17 00:00:00 2001 From: Boopathi Rajaa Date: Thu, 13 Oct 2016 03:40:53 +0200 Subject: [PATCH] [skip ci] Add docs - keepFnName and keepFnArgs DCE --- packages/babel-plugin-minify-dead-code-elimination/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/babel-plugin-minify-dead-code-elimination/README.md b/packages/babel-plugin-minify-dead-code-elimination/README.md index 0c710a33b..e2e4029a7 100644 --- a/packages/babel-plugin-minify-dead-code-elimination/README.md +++ b/packages/babel-plugin-minify-dead-code-elimination/README.md @@ -67,4 +67,5 @@ require("babel-core").transform("code", { ## Options -+ `keepFnames` - prevent plugin from removing function names. Useful for code depending on `fn.name` ++ `keepFnName` - prevent plugin from removing function name. Useful for code depending on `fn.name` ++ `keepFnArgs` - prevent plugin from removing function args. Useful for code depending on `fn.length`