forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mangle.json
80 lines (80 loc) · 2.16 KB
/
mangle.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"help": {
"what is this file?": "It controls protected/private property mangling so that minified builds have consistent property names.",
"why are there duplicate minified properties?": "Most properties are only used on one type of objects, so they can have the same name since they will never collide. Doing this reduces size."
},
"minify": {
"mangle": {
"properties": {
"regex": "^_[^_]",
"reserved": [
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
"__REACT_DEVTOOLS_GLOBAL_HOOK__",
"__PREACT_DEVTOOLS__",
"_renderers",
"__source",
"__self"
]
}
},
"compress": {
"hoist_vars": true,
"reduce_funcs": false
}
},
"props": {
"cname": 6,
"props": {
"$_cleanup": "__c",
"$_afterPaintQueued": "__a",
"$__hooks": "__H",
"$_list": "__",
"$_pendingEffects": "__h",
"$_value": "__",
"$_original": "__v",
"$_args": "__H",
"$_factory": "__h",
"$_depth": "__b",
"$_nextDom": "__d",
"$_dirty": "__d",
"$_detachOnNextRender": "__b",
"$_force": "__e",
"$_nextState": "__s",
"$_renderCallbacks": "__h",
"$_vnode": "__v",
"$_children": "__k",
"$_pendingSuspensionCount": "__u",
"$_childDidSuspend": "__c",
"$_onResolve": "__R",
"$_suspended": "__e",
"$_dom": "__e",
"$_hydrating": "__h",
"$_component": "__c",
"$__html": "__html",
"$_parent": "__",
"$_pendingError": "__E",
"$_processingException": "__",
"$_globalContext": "__n",
"$_context": "c",
"$_defaultValue": "__",
"$_id": "__c",
"$_contextRef": "__",
"$_parentDom": "__P",
"$_originalParentDom": "__O",
"$_prevState": "__u",
"$_root": "__",
"$_diff": "__b",
"$_commit": "__c",
"$_addHookName": "__a",
"$_render": "__r",
"$_hook": "__h",
"$_catchError": "__e",
"$_unmount": "__u",
"$_owner": "__o",
"$_skipEffects": "__s",
"$_rerenderCount": "__r",
"$_forwarded": "__f",
"$_isSuspended": "__i"
}
}
}