forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mangle.json
39 lines (39 loc) · 1.03 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
{
"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": "^_"
}
},
"compress": {
"hoist_vars": true,
"reduce_funcs": false
}
},
"props": {
"cname": 6,
"props": {
"$_depth": "__b",
"$_dirty": "__d",
"$_nextState": "__s",
"$_renderCallbacks": "__h",
"$_vnode": "__v",
"$_children": "__k",
"$_dom": "__e",
"$_component": "__c",
"$_prevVNode": "__t",
"$__html": "__html",
"$_ancestorComponent": "__a",
"$_pendingError": "__E",
"$_processingException": "__p",
"$_context": "__n",
"$_defaultValue": "__p",
"$_id": "__c",
"$_parentDom": "__P"
}
}
}