-
-
Notifications
You must be signed in to change notification settings - Fork 96
/
mangle.json
66 lines (66 loc) · 1.75 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
{
"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": {
"reserved": ["useSignal", "useComputed", "useSignalEffect"],
"keep_classnames": true,
"properties": {
"regex": "^_[^_]",
"reserved": [
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
"__REACT_DEVTOOLS_GLOBAL_HOOK__",
"__PREACT_DEVTOOLS__",
"_renderers",
"_"
]
}
},
"compress": {
"conditionals": false,
"loops": false,
"sequences": false
}
},
"props": {
"cname": 6,
"props": {
"core: Node": "",
"$_source": "S",
"$_prevSource": "p",
"$_nextSource": "n",
"$_target": "t",
"$_prevTarget": "e",
"$_nextTarget": "x",
"$_rollbackNode": "r",
"core: Signal": "",
"$_refresh": "h",
"$_value": "v",
"$_node": "n",
"$_targets": "t",
"core: Computed": "",
"$_fn": "x",
"$_globalVersion": "g",
"core: Effect": "",
"$_callback": "c",
"$_nextEffect": "e",
"$_start": "S",
"$_dispose": "d",
"core: Computed+Effect": "",
"$_sources": "s",
"$_notify": "N",
"core: Signal+Node+Computed+Effect": "",
"$_flags": "f",
"$_version": "i",
"$_subscribe": "S",
"$_unsubscribe": "U",
"preact": "",
"$_signal": "s",
"$_updater": "__$u",
"$_updateFlags": "__$f",
"$_updaters": "U"
}
}
}