-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobfusConfig.js
More file actions
58 lines (58 loc) · 1.68 KB
/
obfusConfig.js
File metadata and controls
58 lines (58 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* javascript-obfuscator 配置,详细配置说明见官方文档
*/
module.exports = {
compact: true,
// controlFlowFlattening: false,
// controlFlowFlatteningThreshold: 0.75,
// deadCodeInjection: false,
// deadCodeInjectionThreshold: 0.4,
// debugProtection: false,
// debugProtectionInterval: 0,
// disableConsoleOutput: false,
// domainLock: [],
// domainLockRedirectUrl: "about:blank",
// forceTransformStrings: [],
// identifierNamesCache: null,
// identifierNamesGenerator: "hexadecimal",
// identifiersDictionary: [],
// identifiersPrefix: "",
// ignoreImports: false,
// inputFileName: "",
log: true,
// numbersToExpressions: false,
optionsPreset: "default",
// renameGlobals: false,
// renameProperties: false,
// renamePropertiesMode: "safe",
// reservedNames: [],
// reservedStrings: [],
// seed: 0,
// selfDefending: false,
simplify: true,
// sourceMap: false,
// sourceMapBaseUrl: "",
// sourceMapFileName: "",
// sourceMapMode: "separate",
// sourceMapSourcesMode: "sources-content",
// splitStrings: true,
// splitStringsChunkLength: 10,
// stringArray: true,
// stringArrayCallsTransform: false,
// stringArrayCallsTransformThreshold: 0.5,
// stringArrayEncoding: [],
// stringArrayIndexesType: [
// "hexadecimal-number"
// ],
// stringArrayIndexShift: false,
// stringArrayRotate: false,
// stringArrayShuffle: false,
// stringArrayWrappersCount: 1,
// stringArrayWrappersChainedCalls: false,
// stringArrayWrappersParametersMaxCount: 2,
// stringArrayWrappersType: "variable",
// stringArrayThreshold: 0.75,
target: "node",
transformObjectKeys: false,
unicodeEscapeSequence: true
}