mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Add CLI option
This commit is contained in:
@@ -236,6 +236,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
'Allows to run the obfuscated source code only on specific domains and/or sub-domains (comma separated)',
|
||||
ArraySanitizer
|
||||
)
|
||||
.option(
|
||||
'--domain-dest <string>',
|
||||
'Allows the browser to be redirected to this domain if the source code isn\'t run on the domains specified by --domain-lock',
|
||||
)
|
||||
.option(
|
||||
'--exclude <list> (comma separated, without whitespaces)',
|
||||
'A filename or glob which indicates files to exclude from obfuscation',
|
||||
|
||||
Reference in New Issue
Block a user