Skip to content

Commit fd56384

Browse files
committed
Fix build
1 parent 9bca6ec commit fd56384

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/common/utils/debug.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const getDebugger = () => {
22
if (
33
process.env.NODE_ENV === 'production' &&
4+
typeof document !== 'undefined' &&
45
document.location.search.indexOf('debug') === -1
56
) {
67
// Return a debugger that will log to sentry

0 commit comments

Comments
 (0)