forked from preactjs/signals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mangle.json
40 lines (40 loc) · 1.05 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
{
"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": {
"keep_classnames": true,
"properties": {
"regex": "^_[^_]",
"reserved": [
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
"__REACT_DEVTOOLS_GLOBAL_HOOK__",
"__PREACT_DEVTOOLS__",
"_renderers",
"_"
]
}
},
"compress": {
"reduce_funcs": false
}
},
"props": {
"cname": 6,
"props": {
"$_value": "_v",
"$_deps": "_d",
"$_subs": "_s",
"$_pending": "_p",
"$_updater": "_u",
"$_setCurrent": "_",
"$_activate": "_a",
"$_isComputing": "_c",
"$_readonly": "_r",
"$_requiresUpdate": "_q",
"$_props": "__"
}
}
}