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 3d04ef5 commit 29a7799Copy full SHA for 29a7799
modules/constants/index.js
@@ -25,7 +25,8 @@ export const isPre = () => IS_PRE
25
let IS_RC: boolean
26
export const isRc = () => IS_RC
27
28
-export const isReleaseBuild = () => IS_ALPHA || IS_BETA || IS_PRE || IS_RC
+// checks if the build should show debugging tools
29
+export const isDevMode = () => !IS_PRODUCTION || (IS_ALPHA || IS_BETA || IS_PRE || IS_RC)
30
31
export const setVersionInfo = (versionStr: string) => {
32
let [version, buildNum] = versionStr.split('+')
0 commit comments