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 7664689 commit 832e090Copy full SHA for 832e090
packages/node_modules/overmind/src/index.ts
@@ -49,7 +49,8 @@ export interface OnInitialize extends IOnInitialize<Config> {}
49
const IS_NODE =
50
typeof module !== 'undefined' && (!this || this.module !== module)
51
const IS_PRODUCTION = process.env.NODE_ENV === 'production'
52
-const IS_DEVELOPMENT = process.env.NODE_ENV === 'development'
+const IS_DEVELOPMENT =
53
+ !process.env.NODE_ENV || process.env.NODE_ENV === 'development'
54
const IS_OPERATOR = Symbol('operator')
55
56
export const makeStringifySafeMutations = (mutations: IMutation[]) => {
0 commit comments