Think Throothinkthroo.hashnode.dev·Oct 4, 2024Bypass bundlers’ detection of the require statementIn this article, we analyse how React source code bypasses bundlers’ detection of require statement. By concatenating the string “require” with a random number (Math.random()), the code generates a string that looks like “require”, but is not direct...JavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.