summaryrefslogtreecommitdiff
path: root/preact/jsx-runtime/mangle.json
diff options
context:
space:
mode:
Diffstat (limited to 'preact/jsx-runtime/mangle.json')
-rw-r--r--preact/jsx-runtime/mangle.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/preact/jsx-runtime/mangle.json b/preact/jsx-runtime/mangle.json
new file mode 100644
index 0000000..506a6a4
--- /dev/null
+++ b/preact/jsx-runtime/mangle.json
@@ -0,0 +1,21 @@
+{
+ "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"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file