Sets global.NODE_ENV to be either the value in process.env, or a user-provided fallback value