react-dev-logger
builds logs conditionally depending on env variable value need to have built support into webpack for standard environment variables: https://medium.com/swlh/accessing-environment-variables-in-a-cloud-native-react-app-without-create-react-app-b7f2013ce5a5
import { devLog } from 'devLogger.js'
and use with devLog('message')