fix rename (#2501)
- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctly
This commit is contained in:
@@ -72,6 +72,7 @@ if (!program.output && program.sourceMap && program.sourceMap.url != "inline") {
|
||||
"wrap"
|
||||
].forEach(function(name) {
|
||||
if (name in program) {
|
||||
if (name == "rename" && program[name]) return;
|
||||
options[name] = program[name];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user