Skip to content

Commit

Permalink
Debugging HTML Builds - fix copy&paste error
Browse files Browse the repository at this point in the history
the point of the code-demo is that if we wrap the module it does not fail
  • Loading branch information
zionis137 authored Jan 17, 2018
1 parent 55803e2 commit ae1f32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/debugging-html-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
```

Expand Down

0 comments on commit ae1f32c

Please sign in to comment.