-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
Milestone
Description
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.
evenchange4, amowu, tuchk4, corydeppen, alexUXUI and 8 morejuanpaco, phsantiago and Mirajjj