diff options
author | alexlamsl <alexlamsl@gmail.com> | 2017-02-18 19:03:53 +0800 |
---|---|---|
committer | alexlamsl <alexlamsl@gmail.com> | 2017-02-21 13:29:57 +0800 |
commit | 148047fbbf1951a52e69170edf510c59b3899e6c (patch) | |
tree | 6650bc383c58f0e0629c43620b901aded8d0abbc /tools/node.js | |
parent | d11dca3cf9e34302ce12a6c9f1cd81b22551f2ba (diff) | |
download | tracifyjs-148047fbbf1951a52e69170edf510c59b3899e6c.tar.gz tracifyjs-148047fbbf1951a52e69170edf510c59b3899e6c.zip |
drop unused: toplevel, assign-only
- assign statement does not count towards variable usage by default
- only works with assignments on the same scope level as declaration
- can be disabled with `unused` set to "keep_assign"
- `toplevel` to drop unused top-level variables and/or functions
- `top_retain` to whitelist top-level exceptions
closes #1450
Diffstat (limited to 'tools/node.js')
0 files changed, 0 insertions, 0 deletions