Use local var environment
rather than NODE_ENV
Traditionally, NODE_ENV refers to an environment variable. For clarity, let's keep it that way and don't reuse it in the renderer. Also, add a note about explicitly overriding env vars for node-config. // FREEBIE
This commit is contained in:
parent
e7e030a5e2
commit
a55c61a3ba
2 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
|
||||
console.log('background page reloaded');
|
||||
console.log('NODE_ENV', window.config.NODE_ENV);
|
||||
console.log('environment:', window.config.environment);
|
||||
extension.notification.init();
|
||||
|
||||
var initialLoadComplete = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue