Created
February 21, 2019 11:16
-
-
Save LRagji/4e97ebad9c036649e15bfe8136b77245 to your computer and use it in GitHub Desktop.
[Node]Pro-Tips:Set environment to production when not declared
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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