{"action":"closed","issue":{"url":"https://api.github.com/repos/alexkuz/flask-react-boilerplate/issues/2","labels_url":"https://api.github.com/repos/alexkuz/flask-react-boilerplate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/alexkuz/flask-react-boilerplate/issues/2/comments","events_url":"https://api.github.com/repos/alexkuz/flask-react-boilerplate/issues/2/events","html_url":"https://github.com/alexkuz/flask-react-boilerplate/issues/2","id":82616205,"number":2,"title":"Is this missing envifying process.env.NODE_ENV in production mode?","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T22:43:02Z","updated_at":"2016-01-30T15:35:20Z","closed_at":"2016-01-30T15:35:20Z","body":"React uses `process.env.NODE_ENV` to switch into production mode, but it seems that [env variables](https://github.com/alexkuz/flask-react-boilerplate/blob/376ee7a5a35b52beb3e40fceffef4dc6e2da5084/webpack.base.config.js#L41-L46) don't include it.\r\n\r\nMaybe it makes sense to change `__CURRENT_ENV__` to be called `NODE_ENV`? Or else `NODE_ENV` to alias it."}}