With the version 1.0.5 of the create-react-app boilerplate I've started receiving the fallowing warning:
*** process.env.ENV is not defined, assuming 'prod' env
I know how to create a custom environmental variables, but those require REACT_APP_ prefix.
Now, I've discovered that the message is being shown because of the Chrome's Grammarly extension, and disabling it removes the message.
However, I'd like to know how I can resolve this regardless of the extensions.
I know that there are 2 more questions like this on the StackOverflow, but they include solutions that are using the Webpack. Unfortunately, I have no access to the Webpack, since I haven't ejected the create-react-app, and I don't plan to anytime soon.
Is there a way to declare the environment on process.env.ENV in create-react-app?
EDIT:
This was the main question. Is it technically possible to define it in the non-ejected create-react-app?