From 38acabfa6089ab8ac469c12b5f55022fb96935e5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 23 Aug 2021 16:46:06 -0300 Subject: added web vendors --- preact/compat/mangle.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 preact/compat/mangle.json (limited to 'preact/compat/mangle.json') diff --git a/preact/compat/mangle.json b/preact/compat/mangle.json new file mode 100644 index 0000000..506a6a4 --- /dev/null +++ b/preact/compat/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 -- cgit v1.2.3