Created by: GnsP
In reference to Issue #2377 (closed) [closed].
babel-preset-react-app requires that NODE_ENV
or BABEL_ENV
be set to "development" | "test" | "production"
. Prefer loading contents of .env
file, if present, to process.env
before the check is done.