Skip to content

Commit 1caa8f7

Browse files
committed
fix demo
1 parent 59d41a4 commit 1caa8f7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// eslint-disable-next-line no-undef -- ignore
2-
module.exports = function () {
3-
/* noop */
4-
};
1+
if (typeof module !== 'undefined') {
2+
// eslint-disable-next-line no-undef -- ignore
3+
module.exports = function () {
4+
/* noop */
5+
};
6+
}

0 commit comments

Comments
 (0)