Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions mangle.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"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, and reusing a name that is already frequent compresses better than introducing a new one.",
"careful": "Aliases are only safe while the owning object types stay disjoint. Today: _bits/_listeners share __e with _dom/_catchError (Component / DOM element / VNode / options), and _stateCallbacks shares __k with _children (Component / VNode + root container). Adding one of these props to another owner type silently corrupts state."
"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": {
Expand Down Expand Up @@ -76,7 +75,7 @@
"$_owner": "__o",
"$_skipEffects": "__s",
"$_isSuspended": "__i",
"$_bits": "__e"
"$_bits": "__g"
}
}
}