minify option and variable declarations merge transformer

This commit is contained in:
sanex3339
2020-06-26 12:41:01 +03:00
parent 3a202aa2d8
commit 1d86852e45
19 changed files with 166 additions and 20 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(
'--minify <boolean>', 'Enables code minification',
BooleanSanitizer
)
.option(
'--reserved-names <list> (comma separated, without whitespaces)',
'Disables obfuscation and generation of identifiers, which being matched by passed RegExp patterns (comma separated)',