@asclines In logger.js I have an if-statement that checks typeof ENV !== 'undefined'. This is because I wasn't sure how you wanted to set the build type. I have Webpack setup to replace ENV with prod, dev, or test accordingly, but I couldn't see anything similar on the back end.
Adds
loglevel
to the project.@asclines In
logger.js
I have an if-statement that checkstypeof ENV !== 'undefined'
. This is because I wasn't sure how you wanted to set the build type. I have Webpack setup to replaceENV
withprod
,dev
, ortest
accordingly, but I couldn't see anything similar on the back end.