score:3

Accepted answer

The doc says:

By default, environment variables that are not defined will be left untouched.

https://github.com/hughsk/envify#purging-processenv

Have you tried defining it before running that? i.e.

process.env.NODE_ENV = 'production';

Related Query

More Query from same tag