Skip to content

Commit

Permalink
[skip ci] Add docs - keepFnName and keepFnArgs DCE
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi committed Oct 13, 2016
1 parent 10b114f commit a7a890a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/babel-plugin-minify-dead-code-elimination/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

0 comments on commit a7a890a

Please sign in to comment.