{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/301","repository_url":"https://api.github.com/repos/mxstbr/react-boilerplate","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/301/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/301/events","html_url":"https://github.com/mxstbr/react-boilerplate/issues/301","id":153242148,"number":301,"title":"NODE_ENV seems to be overriden by webpack in dev mode","user":{"login":"ralomucho","id":294913,"avatar_url":"https://avatars.githubusercontent.com/u/294913?v=3","gravatar_id":"","url":"https://api.github.com/users/ralomucho","html_url":"https://github.com/ralomucho","followers_url":"https://api.github.com/users/ralomucho/followers","following_url":"https://api.github.com/users/ralomucho/following{/other_user}","gists_url":"https://api.github.com/users/ralomucho/gists{/gist_id}","starred_url":"https://api.github.com/users/ralomucho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralomucho/subscriptions","organizations_url":"https://api.github.com/users/ralomucho/orgs","repos_url":"https://api.github.com/users/ralomucho/repos","events_url":"https://api.github.com/users/ralomucho/events{/privacy}","received_events_url":"https://api.github.com/users/ralomucho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-05T14:20:25Z","updated_at":"2016-05-05T21:30:07Z","closed_at":null,"body":"using npm start (so NODE_ENV is set to development), NODE_ENV is always empty when I log it in brower console.\r\n\r\nfixed it in webpack.dev.babel.js with \r\n  \r\n```\r\nnew webpack.DefinePlugin({\r\n      'process.env': {\r\n        NODE_ENV: JSON.stringify('development'),\r\n      },\r\n    }),\r\n```\r\n\r\n\r\nbut don't know if it is a good solution."},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/217285737","html_url":"https://github.com/mxstbr/react-boilerplate/issues/301#issuecomment-217285737","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/301","id":217285737,"user":{"login":"ralomucho","id":294913,"avatar_url":"https://avatars.githubusercontent.com/u/294913?v=3","gravatar_id":"","url":"https://api.github.com/users/ralomucho","html_url":"https://github.com/ralomucho","followers_url":"https://api.github.com/users/ralomucho/followers","following_url":"https://api.github.com/users/ralomucho/following{/other_user}","gists_url":"https://api.github.com/users/ralomucho/gists{/gist_id}","starred_url":"https://api.github.com/users/ralomucho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralomucho/subscriptions","organizations_url":"https://api.github.com/users/ralomucho/orgs","repos_url":"https://api.github.com/users/ralomucho/repos","events_url":"https://api.github.com/users/ralomucho/events{/privacy}","received_events_url":"https://api.github.com/users/ralomucho/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T21:30:07Z","updated_at":"2016-05-05T21:30:07Z","body":"sorry, v3.0.0"}}