I noticed this when trying to publish my app that the resulting value for isDev was an object of the form { default: false } hence it is always truthy in the codebase.
This change is importing the default right off the bat so the resulting value is simply the boolean false or true
I noticed this when trying to publish my app that the resulting value for
isDev
was an object of the form{ default: false }
hence it is always truthy in the codebase.This change is importing the default right off the bat so the resulting value is simply the boolean
false
ortrue