Closed colshacol closed 5 years ago
Fixes #5.
# This: yarn workspace frontend add -D whatever # ... can now be done more easily like so: yarn frontend add -D whatever
NODE_ENV
# So we can designate which environment we are working on. # Also required for (3) of this list. :) NODE_ENV='development' NODE_ENV='production'
babel-plugin-dev-expression
// If NODE_ENV='development', __DEV__ will be true. __DEV__
__DEV__
init-apollo.js
Replaced the static isProduction with __DEV__.
isProduction
Thanks for this awesome contribution @colshacol :)
Fixes #5.
NODE_ENV
declarations.babel-plugin-dev-expression
.__DEV__
ininit-apollo.js
.Replaced the static
isProduction
with__DEV__
.