-
Notifications
You must be signed in to change notification settings - Fork 18
Setting NODE_ENV to production by default #11
Comments
I'm generally for this. Would it benefit the normal node template too? What are the side effects for people relying on this for debugging and how does it impact them? |
Regarding the benefit to the normal node template: Regarding the side effects: |
I like the idea of it as a default, so long as it could be overridden. For example, we could set |
I like this proposal, also for the regular template. As I debug, it wont have any side effect, besides it can be overriden. |
Currently, we already configure the log level of NPM and further only install production (runtime) dependency.
I suggest the default setting of
NODE_ENV
toproduction
as this will increase the overall performance of the express server, without any additional effort.The text was updated successfully, but these errors were encountered: