diff --git a/docs/docs/debugging-html-builds.md b/docs/docs/debugging-html-builds.md
index a932ac6f4c8b9..20eb5c6fc1483 100644
--- a/docs/docs/debugging-html-builds.md
+++ b/docs/docs/debugging-html-builds.md
@@ -30,7 +30,7 @@ const module = require("module"); // Error
// Wrap the require in check for window
if (typeof window !== `undefined`) {
- const module = require("module"); // Error
+ const module = require("module");
}
```