Closed dschissler closed 7 years ago
The node ecosystem has settled on using process.env.NODE_ENV to determine the environment. So this needs to be properly exported throughout the system and the build system needs to set this to production.
process.env.NODE_ENV
production
The DEVEL build time constant should still be available for easier reading. This would mainly be to enable optimizations in the NPM modules.
DEVEL
Done
The node ecosystem has settled on using
process.env.NODE_ENV
to determine the environment. So this needs to be properly exported throughout the system and the build system needs to set this toproduction
.