mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
splitString and splitStringChunkLength options
This commit is contained in:
@@ -311,6 +311,16 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
'Default: separate',
|
||||
SourceMapModeSanitizer
|
||||
)
|
||||
.option(
|
||||
'--split-strings <boolean>',
|
||||
'Splits literal strings into chunks with length of `splitStringsChunkLength` option value',
|
||||
BooleanSanitizer
|
||||
)
|
||||
.option(
|
||||
'--split-strings-chunk-length <number>',
|
||||
'Sets chunk length of `splitStrings` option',
|
||||
parseFloat
|
||||
)
|
||||
.option(
|
||||
'--string-array <boolean>',
|
||||
'Disables gathering of all literal strings into an array and replacing every literal string with an array call',
|
||||
|
||||
Reference in New Issue
Block a user