Feature request - Support different env configs
Created by: tuchk4
Read different .env
configs according to current command (start / test / build).
- Read
.env.dev
when npm start and npm test - Read
.env.prod
when 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.