Skip to content

Instantly share code, notes, and snippets.

@4j17h
Created February 15, 2022 16:33
Show Gist options
  • Save 4j17h/fdfb4c5cf03b50c07fab4de4b69c4fa1 to your computer and use it in GitHub Desktop.
Save 4j17h/fdfb4c5cf03b50c07fab4de4b69c4fa1 to your computer and use it in GitHub Desktop.
Obfuscator Config
module.exports = {
"optionsPreset": "default",
"compact": true,
"selfDefending": false,
"disableConsoleOutput": false,
"splitStrings": true,
"splitStringsChunkLength": 4,
"splitStringsChunkLengthEnabled": true,
"stringArray": true,
"stringArrayRotate": true,
"stringArrayRotateEnabled": true,
"stringArrayShuffle": true,
"stringArrayShuffleEnabled": true,
"simplify": true,
"stringArrayThreshold": 1,
"stringArrayThresholdEnabled": true,
"stringArrayIndexesType": ["hexadecimal-number"],
"stringArrayIndexShift": true,
"stringArrayCallsTransform": false,
"stringArrayCallsTransformThreshold": 0.5,
"stringArrayEncoding": ["none"],
"stringArrayEncodingEnabled": true,
"stringArrayWrappersCount": 1,
"stringArrayWrappersChainedCalls": true,
"stringArrayWrappersParametersMaxCount": 2,
"stringArrayWrappersType": "variable",
"numbersToExpressions": false,
"sourceMap": false,
"sourceMapMode": "separate",
"sourceMapBaseUrl": "",
"sourceMapFileName": "",
"domainLock": [],
"domainLockRedirectUrl": "about:blank",
"domainLockEnabled": false,
"forceTransformStrings": [],
"reservedNames": [],
"reservedStrings": [],
"seed": 0,
"controlFlowFlatteningThreshold": 0.75,
"controlFlowFlattening": false,
"deadCodeInjectionThreshold": 0.4,
"deadCodeInjection": false,
"unicodeEscapeSequence": true,
"renameGlobals": false,
"renameProperties": false,
"renamePropertiesMode": "safe",
"target": "node",
"identifierNamesGenerator": "hexadecimal",
"identifiersDictionary": [],
"identifiersPrefix": "",
"transformObjectKeys": false,
"ignoreImports": false,
"rotateStringArray": true,
"rotateStringArrayEnabled": true,
"shuffleStringArray": true,
"shuffleStringArrayEnabled": true,
"ignoreRequireImports": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment