tone back obfuscation.

This commit is contained in:
2026-05-16 10:19:52 +01:00
parent 28bd265323
commit 61b69c136a
+7 -15
View File
@@ -6,32 +6,24 @@ import obfuscatorPlugin from 'rollup-plugin-obfuscator'
const OBFUSCATOR_OPTIONS = {
compact: true,
controlFlowFlattening: true,
controlFlowFlatteningThreshold: 0.75,
deadCodeInjection: true,
deadCodeInjectionThreshold: 0.4,
controlFlowFlattening: false,
deadCodeInjection: false,
debugProtection: false,
disableConsoleOutput: false,
identifierNamesGenerator: 'hexadecimal',
log: false,
numbersToExpressions: true,
numbersToExpressions: false,
renameGlobals: false,
selfDefending: true,
selfDefending: false,
simplify: true,
splitStrings: true,
splitStringsChunkLength: 10,
splitStrings: false,
stringArray: true,
stringArrayCallsTransform: true,
stringArrayCallsTransform: false,
stringArrayEncoding: ['base64'],
stringArrayIndexShift: true,
stringArrayRotate: true,
stringArrayShuffle: true,
stringArrayWrappersCount: 2,
stringArrayWrappersChainedCalls: true,
stringArrayWrappersParametersMaxCount: 4,
stringArrayWrappersType: 'function',
stringArrayThreshold: 0.75,
transformObjectKeys: true,
transformObjectKeys: false,
unicodeEscapeSequence: false,
}