Added mangleProperties option

This commit is contained in:
sanex3339
2020-06-06 10:04:25 +03:00
parent 06176c29a6
commit f5e06fcfed
10 changed files with 39 additions and 41438 deletions
+4
View File
@@ -249,6 +249,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
'--log <boolean>', 'Enables logging of the information to the console',
BooleanSanitizer
)
.option(
'--mangle-properties <boolean>', 'UNSAFE: Enables mangling property names',
BooleanSanitizer
)
.option(
'--reserved-names <list> (comma separated, without whitespaces)',
'Disables obfuscation and generation of identifiers, which being matched by passed RegExp patterns (comma separated)',