Feature request - Support different env configs
Created by: tuchk4
Read different .env configs according to current command (start / test / build).
- Read
.env.devwhen npm start and npm test - Read
.env.prodwhen npm run build
By default (if custom config does not exist) read env variables from .env file.
dotenv is using for config parsing.
Not sure about npm test - what config file should be accepted.