We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d41a4 commit 1caa8f7Copy full SHA for 1caa8f7
explorer-v2/build-system/shim/assert.js
@@ -1,4 +1,6 @@
1
-// eslint-disable-next-line no-undef -- ignore
2
-module.exports = function () {
3
- /* noop */
4
-};
+if (typeof module !== 'undefined') {
+ // eslint-disable-next-line no-undef -- ignore
+ module.exports = function () {
+ /* noop */
5
+ };
6
+}
0 commit comments