Support keep_fnames in compressor, and --keep-fnames. #552
authorMihai Bazon <mihai@bazon.net>
Mon, 5 Jan 2015 09:03:13 +0000 (11:03 +0200)
committerMihai Bazon <mihai@bazon.net>
Mon, 5 Jan 2015 09:03:13 +0000 (11:03 +0200)
commite1f0747e4cca7b77a0189dacbff9fa4800a2835c
tree013bd242a4107d3cd9046e8038823637c7a1d9e7
parente37b67d013c4537a36bb3c24f4f99e72efbf6d4b
Support keep_fnames in compressor, and --keep-fnames. #552

Passing `--keep-fnames` will enable it both for compressor/mangler, so that
function names will not be dropped (when unused) nor mangled.
bin/uglifyjs
lib/compress.js