TypeScript-Node-Starter icon indicating copy to clipboard operation
TypeScript-Node-Starter copied to clipboard

there is no NODE_ENV on .env.example

Open HoseinGhanbari opened this issue 4 years ago • 2 comments

hey there, thanks for this great node starter there is currently no NODE_ENV declaration on .env.example e.g. NODE_ENV=development

HoseinGhanbari avatar May 08 '20 10:05 HoseinGhanbari

Hey, thanks for feedback! Would you llike to see a content like sample .env on dotenv? https://github.com/motdotla/dotenv/blob/c1645c96aa8dcd2dbe5f9b086a8164166f2806f2/examples/typescript/.env.example thx!

peterblazejewicz avatar May 08 '20 16:05 peterblazejewicz

yeah this is helpful, as people like me might try cross-env, env or dotenv BUT everything is working out of the box in the starter; of course as I couldn't find the NODE_ENV declaration, I forgot to set it directly on .env.

Thanks!

HoseinGhanbari avatar May 08 '20 17:05 HoseinGhanbari