Closed feychou closed 8 years ago
Setting the process.env.NODE_ENV this way https://github.com/christianalfoni/webpack-express-boilerplate/blob/4bd697889bf6502ee0706e6d22bc19e5af44a3fe/package.json#L24 does not seem to work on OS X or Linux. Replacing set with export does the trick.
process.env.NODE_ENV
set
export
Setting the
process.env.NODE_ENV
this way https://github.com/christianalfoni/webpack-express-boilerplate/blob/4bd697889bf6502ee0706e6d22bc19e5af44a3fe/package.json#L24 does not seem to work on OS X or Linux. Replacingset
withexport
does the trick.