diff --git a/packages/core/src/env.ts b/packages/core/src/env.ts index 62a7587d1..37c4452c0 100644 --- a/packages/core/src/env.ts +++ b/packages/core/src/env.ts @@ -1,5 +1,5 @@ export const isBrowser = // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - typeof window !== 'undefined' || typeof self !== 'undefined' || typeof process === 'undefined'; // main and worker thread + typeof window !== 'undefined' || typeof process === 'undefined'; // main and worker thread export const env = isBrowser ? {} : process.env || {};