From b2cafb4f91cb01a394414881f322d4ec618deb84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=ABck=20V=C3=A9zien?= Date: Wed, 17 Jan 2018 15:50:24 +0100 Subject: [PATCH] Fix globals --- src/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals.js b/src/globals.js index b180cf7b..2071155c 100644 --- a/src/globals.js +++ b/src/globals.js @@ -2,6 +2,6 @@ const { NODE_ENV } = process.env -global.__ENV__ = NODE_ENV === 'production' ? NODE_ENV : 'development' +global.__ENV__ = NODE_ENV === 'development' ? NODE_ENV : 'production' global.__DEV__ = global.__ENV__ === 'development' global.__PROD__ = !global.__DEV__