Fix debug mode being active although explicitly disabled (#5837)
* fix debug mode being active although explicitly disabled * also set debug mode correctly in sharedState
This commit is contained in:
parent
68f18bfa64
commit
de1bdb4f5d
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ import packageJson from '../package.json'
|
|||
import normalizePath from 'normalize-path'
|
||||
|
||||
let env = {
|
||||
DEBUG: process.env.DEBUG !== undefined,
|
||||
DEBUG: process.env.DEBUG !== undefined && process.env.DEBUG !== '0',
|
||||
}
|
||||
|
||||
// ---
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
export const env = {
|
||||
TAILWIND_MODE: process.env.TAILWIND_MODE,
|
||||
NODE_ENV: process.env.NODE_ENV,
|
||||
DEBUG: process.env.DEBUG !== undefined,
|
||||
DEBUG: process.env.DEBUG !== undefined && process.env.DEBUG !== '0',
|
||||
TAILWIND_DISABLE_TOUCH: process.env.TAILWIND_DISABLE_TOUCH !== undefined,
|
||||
TAILWIND_TOUCH_DIR: process.env.TAILWIND_TOUCH_DIR,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue