Variable Exclusion List lets you define which identifiers should never be renamed during name mangling.
How to define exclusions
The setting is a multi-line list of regular expressions. Each line represents one matching rule.
^myname$
^myvalue$
Example
Source code:
function () {
var myname;
var myvalue;
var hello;
}
Output with the exclusions above:
function () {
var myname;
var myvalue;
var a;
}
Regex note: the matching is case-sensitive. Use patterns like ^my_ to protect all identifiers that start with a shared prefix.