perchlabs / webird

Webird
98 stars 22 forks source link

Properly set process.env.NODE_ENV #22

Closed dschissler closed 7 years ago

dschissler commented 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.

dschissler commented 7 years ago

The DEVEL build time constant should still be available for easier reading. This would mainly be to enable optimizations in the NPM modules.

dschissler commented 7 years ago

Done