https://github.com/mishoo/UglifyJS
Revision 148047fbbf1951a52e69170edf510c59b3899e6c authored by alexlamsl on 18 February 2017, 11:03:53 UTC, committed by alexlamsl on 21 February 2017, 05:29:57 UTC
- 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
1 parent d11dca3
History
Tip revision: 148047fbbf1951a52e69170edf510c59b3899e6c authored by alexlamsl on 18 February 2017, 11:03:53 UTC
drop unused: toplevel, assign-only
Tip revision: 148047f
File Mode Size
bin
lib
test
tools
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 150 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 39.0 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.3 KB

README.md

back to top