mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added Logger and new option log
This commit is contained in:
@@ -166,6 +166,10 @@ export class JavaScriptObfuscatorCLI {
|
||||
'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
|
||||
(value: string) => value.split(',')
|
||||
)
|
||||
.option(
|
||||
'--log <boolean>', 'Enables logging of the information to the console',
|
||||
BooleanSanitizer
|
||||
)
|
||||
.option(
|
||||
'--mangle <boolean>', 'Enables mangling of variable names',
|
||||
BooleanSanitizer
|
||||
|
||||
Reference in New Issue
Block a user