hughsk / envify

:wrench: Selectively replace Node-style environment variables with plain strings.
902 stars 57 forks source link

readme typo #8

Closed bhurlow closed 10 years ago

bhurlow commented 10 years ago

do you really mean this?

if ("production" === "development") {
  console.log('development only')
}
hughsk commented 10 years ago

Yep! Right below that snippet:

By running this through a good minifier (e.g. UglifyJS2), the above code would be stripped out completely.

Nonetheless, I'll update that section so that it's more clear.

bhurlow commented 10 years ago

aha I see. on first glance I was a bit confused :) cheers good module thanks