Skip to content

Instantly share code, notes, and snippets.

@LRagji
Created February 21, 2019 11:16
Show Gist options
  • Save LRagji/4e97ebad9c036649e15bfe8136b77245 to your computer and use it in GitHub Desktop.
Save LRagji/4e97ebad9c036649e15bfe8136b77245 to your computer and use it in GitHub Desktop.
[Node]Pro-Tips:Set environment to production when not declared
if (!process.env.NODE_ENV) {
process.env.NODE_ENV = 'production'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment