update
This commit is contained in:
41
obfuscatorConfig.js
Normal file
41
obfuscatorConfig.js
Normal file
@@ -0,0 +1,41 @@
|
||||
const allObfuscatorConfig = {
|
||||
excludes: [],
|
||||
enable: true,
|
||||
log: true,
|
||||
autoExcludeNodeModules: true,
|
||||
// autoExcludeNodeModules: { enable: true, manualChunks: ['vue'] }
|
||||
threadPool: true,
|
||||
// threadPool: { enable: true, size: 4 }
|
||||
options: {
|
||||
compact: true,
|
||||
controlFlowFlattening: true,
|
||||
controlFlowFlatteningThreshold: 1,
|
||||
deadCodeInjection: false,
|
||||
debugProtection: false,
|
||||
debugProtectionInterval: 0,
|
||||
disableConsoleOutput: false,
|
||||
identifierNamesGenerator: 'hexadecimal',
|
||||
log: false,
|
||||
numbersToExpressions: false,
|
||||
renameGlobals: false,
|
||||
selfDefending: true,
|
||||
simplify: true,
|
||||
splitStrings: false,
|
||||
ignoreImports: true,
|
||||
stringArray: true,
|
||||
stringArrayCallsTransform: true,
|
||||
stringArrayCallsTransformThreshold: 0.5,
|
||||
stringArrayEncoding: [],
|
||||
stringArrayIndexShift: true,
|
||||
stringArrayRotate: true,
|
||||
stringArrayShuffle: true,
|
||||
stringArrayWrappersCount: 1,
|
||||
stringArrayWrappersChainedCalls: true,
|
||||
stringArrayWrappersParametersMaxCount: 2,
|
||||
stringArrayWrappersType: 'variable',
|
||||
stringArrayThreshold: 0.75,
|
||||
unicodeEscapeSequence: false,
|
||||
}
|
||||
};
|
||||
|
||||
export default allObfuscatorConfig;
|
||||
Reference in New Issue
Block a user