{"action":"created","issue":{"url":"https://api.github.com/repos/kadirahq/react-storybook/issues/495","repository_url":"https://api.github.com/repos/kadirahq/react-storybook","labels_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/495/comments","events_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/495/events","html_url":"https://github.com/kadirahq/react-storybook/issues/495","id":179150510,"number":495,"title":"Environment variables are not working","user":{"login":"madushan1000","id":4597144,"avatar_url":"https://avatars.githubusercontent.com/u/4597144?v=3","gravatar_id":"","url":"https://api.github.com/users/madushan1000","html_url":"https://github.com/madushan1000","followers_url":"https://api.github.com/users/madushan1000/followers","following_url":"https://api.github.com/users/madushan1000/following{/other_user}","gists_url":"https://api.github.com/users/madushan1000/gists{/gist_id}","starred_url":"https://api.github.com/users/madushan1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madushan1000/subscriptions","organizations_url":"https://api.github.com/users/madushan1000/orgs","repos_url":"https://api.github.com/users/madushan1000/repos","events_url":"https://api.github.com/users/madushan1000/events{/privacy}","received_events_url":"https://api.github.com/users/madushan1000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T06:42:59Z","updated_at":"2016-09-26T11:46:06Z","closed_at":null,"body":"`process.env.<VAR>` type statements are not working in both the storybook static version and the dev server. Storybook version is 2.19.0."},"comment":{"url":"https://api.github.com/repos/kadirahq/react-storybook/issues/comments/249548225","html_url":"https://github.com/kadirahq/react-storybook/issues/495#issuecomment-249548225","issue_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/495","id":249548225,"user":{"login":"arunoda","id":50838,"avatar_url":"https://avatars.githubusercontent.com/u/50838?v=3","gravatar_id":"","url":"https://api.github.com/users/arunoda","html_url":"https://github.com/arunoda","followers_url":"https://api.github.com/users/arunoda/followers","following_url":"https://api.github.com/users/arunoda/following{/other_user}","gists_url":"https://api.github.com/users/arunoda/gists{/gist_id}","starred_url":"https://api.github.com/users/arunoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunoda/subscriptions","organizations_url":"https://api.github.com/users/arunoda/orgs","repos_url":"https://api.github.com/users/arunoda/repos","events_url":"https://api.github.com/users/arunoda/events{/privacy}","received_events_url":"https://api.github.com/users/arunoda/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T11:46:06Z","updated_at":"2016-09-26T11:46:06Z","body":"I think this is working properly.\r\nWe need to use `process.env.STORYBOOK_XXX` in our source code.\r\nWe can't get all these values via `process.env`.\r\n\r\nThat's because webpack simply's define plugin simply replace a give key which is like C preprocessor.\r\n\r\nBut, we should provide a way to get it via `process.env` to avoid the confusion. "}}
{"actor":{"display_login":"arunoda"}}