tone back obfuscation.
This commit is contained in:
+7
-15
@@ -6,32 +6,24 @@ import obfuscatorPlugin from 'rollup-plugin-obfuscator'
|
|||||||
|
|
||||||
const OBFUSCATOR_OPTIONS = {
|
const OBFUSCATOR_OPTIONS = {
|
||||||
compact: true,
|
compact: true,
|
||||||
controlFlowFlattening: true,
|
controlFlowFlattening: false,
|
||||||
controlFlowFlatteningThreshold: 0.75,
|
deadCodeInjection: false,
|
||||||
deadCodeInjection: true,
|
|
||||||
deadCodeInjectionThreshold: 0.4,
|
|
||||||
debugProtection: false,
|
debugProtection: false,
|
||||||
disableConsoleOutput: false,
|
disableConsoleOutput: false,
|
||||||
identifierNamesGenerator: 'hexadecimal',
|
identifierNamesGenerator: 'hexadecimal',
|
||||||
log: false,
|
log: false,
|
||||||
numbersToExpressions: true,
|
numbersToExpressions: false,
|
||||||
renameGlobals: false,
|
renameGlobals: false,
|
||||||
selfDefending: true,
|
selfDefending: false,
|
||||||
simplify: true,
|
simplify: true,
|
||||||
splitStrings: true,
|
splitStrings: false,
|
||||||
splitStringsChunkLength: 10,
|
|
||||||
stringArray: true,
|
stringArray: true,
|
||||||
stringArrayCallsTransform: true,
|
stringArrayCallsTransform: false,
|
||||||
stringArrayEncoding: ['base64'],
|
stringArrayEncoding: ['base64'],
|
||||||
stringArrayIndexShift: true,
|
|
||||||
stringArrayRotate: true,
|
stringArrayRotate: true,
|
||||||
stringArrayShuffle: true,
|
stringArrayShuffle: true,
|
||||||
stringArrayWrappersCount: 2,
|
|
||||||
stringArrayWrappersChainedCalls: true,
|
|
||||||
stringArrayWrappersParametersMaxCount: 4,
|
|
||||||
stringArrayWrappersType: 'function',
|
|
||||||
stringArrayThreshold: 0.75,
|
stringArrayThreshold: 0.75,
|
||||||
transformObjectKeys: true,
|
transformObjectKeys: false,
|
||||||
unicodeEscapeSequence: false,
|
unicodeEscapeSequence: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user