express-handlebars
express-handlebars copied to clipboard
Possible documentation issue regarding NODE_ENV
Should the line
process.env.NODE_ENV === "dev";
be
process.env.NODE_ENV = "dev";
?
No. You should not assign NODE_ENV in your code, this value comes from the system path variables. The documention is explaining something that happens only in dev mode, OR: process.env.NODE_ENV === "development"