{"action":"created","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/195","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/195/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/195/events","html_url":"https://github.com/rails/webpacker/pull/195","id":217231664,"number":195,"title":"Use correct env for compiling webpack","user":{"login":"mfazekas","id":52435,"avatar_url":"https://avatars2.githubusercontent.com/u/52435?v=3","gravatar_id":"","url":"https://api.github.com/users/mfazekas","html_url":"https://github.com/mfazekas","followers_url":"https://api.github.com/users/mfazekas/followers","following_url":"https://api.github.com/users/mfazekas/following{/other_user}","gists_url":"https://api.github.com/users/mfazekas/gists{/gist_id}","starred_url":"https://api.github.com/users/mfazekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfazekas/subscriptions","organizations_url":"https://api.github.com/users/mfazekas/orgs","repos_url":"https://api.github.com/users/mfazekas/repos","events_url":"https://api.github.com/users/mfazekas/events{/privacy}","received_events_url":"https://api.github.com/users/mfazekas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-27T12:36:37Z","updated_at":"2017-03-27T13:24:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/webpacker/pulls/195","html_url":"https://github.com/rails/webpacker/pull/195","diff_url":"https://github.com/rails/webpacker/pull/195.diff","patch_url":"https://github.com/rails/webpacker/pull/195.patch"},"body":"Fixes: #194\r\n\r\nEven if Rails.env is non production we want to keep NODE_ENV=production don't we? See comments on https://github.com/rails/webpacker/pull/164\r\nSo we want to do most of our checks based on RAILS_ENV even in js"},"comment":{"url":"https://api.github.com/repos/rails/webpacker/issues/comments/289452023","html_url":"https://github.com/rails/webpacker/pull/195#issuecomment-289452023","issue_url":"https://api.github.com/repos/rails/webpacker/issues/195","id":289452023,"user":{"login":"gauravtiwari","id":771039,"avatar_url":"https://avatars1.githubusercontent.com/u/771039?v=3","gravatar_id":"","url":"https://api.github.com/users/gauravtiwari","html_url":"https://github.com/gauravtiwari","followers_url":"https://api.github.com/users/gauravtiwari/followers","following_url":"https://api.github.com/users/gauravtiwari/following{/other_user}","gists_url":"https://api.github.com/users/gauravtiwari/gists{/gist_id}","starred_url":"https://api.github.com/users/gauravtiwari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauravtiwari/subscriptions","organizations_url":"https://api.github.com/users/gauravtiwari/orgs","repos_url":"https://api.github.com/users/gauravtiwari/repos","events_url":"https://api.github.com/users/gauravtiwari/events{/privacy}","received_events_url":"https://api.github.com/users/gauravtiwari/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T13:24:27Z","updated_at":"2017-03-27T13:24:27Z","body":"Semantically it seems NODE_ENV would be idea within webpack config instead of RAILS_ENV, plus most of frontend libraries and frameworks use that env during compilation. "}}
{"actor":{"display_login":"gauravtiwari"}}