stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Optimized builds do not automatically envify #1041

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

Using process.env.NODE_ENV with optimized builds does not remove the statement.

matthewp commented 6 years ago

This is not the case. What is true is that there isn't a default NODE_ENV provided. I think we should pass 'production' by default