feat: add reserved words loading and identifier obfuscation to AssetProcessor

This commit is contained in:
Florian Sylvain
2025-09-16 22:03:02 +02:00
parent 4bf902bb55
commit 91e13a5c83
2 changed files with 270 additions and 0 deletions
+117
View File
@@ -0,0 +1,117 @@
{
"javascript": [
"break",
"case",
"catch",
"class",
"const",
"continue",
"debugger",
"default",
"delete",
"do",
"else",
"export",
"extends",
"finally",
"for",
"function",
"if",
"import",
"in",
"instanceof",
"let",
"new",
"return",
"super",
"switch",
"this",
"throw",
"try",
"typeof",
"var",
"void",
"while",
"with",
"yield",
"true",
"false",
"null",
"undefined",
"NaN",
"Infinity",
"console",
"window",
"document",
"Array",
"Object",
"String",
"Number",
"Boolean",
"Date",
"Math",
"JSON",
"setTimeout",
"setInterval",
"clearTimeout",
"clearInterval",
"addEventListener",
"removeEventListener",
"querySelector",
"querySelectorAll",
"getElementById",
"getElementsByClassName",
"getElementsByTagName",
"createElement",
"appendChild",
"removeChild",
"innerHTML",
"innerText",
"textContent",
"value",
"length",
"push",
"pop",
"shift",
"unshift",
"slice",
"splice",
"indexOf",
"includes",
"forEach",
"map",
"filter",
"reduce",
"find",
"some",
"every",
"sort",
"reverse",
"join",
"split",
"matchMedia",
"matches",
"classList",
"add",
"remove",
"contains",
"toggle",
"setAttribute",
"getAttribute",
"removeAttribute",
"target",
"isIntersecting",
"IntersectionObserver",
"unobserve",
"observe",
"threshold",
"rootMargin",
"key",
"click",
"keydown",
"DOMContentLoaded",
"onload",
"Function",
"of"
]
}