{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/3105","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/3105/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/3105/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/3105/events","html_url":"https://github.com/webpack/webpack/issues/3105","id":181670934,"number":3105,"title":"Can't access \"process.env\" variables in index.html or other html files","user":{"login":"darkylmnx","id":1426357,"avatar_url":"https://avatars.githubusercontent.com/u/1426357?v=3","gravatar_id":"","url":"https://api.github.com/users/darkylmnx","html_url":"https://github.com/darkylmnx","followers_url":"https://api.github.com/users/darkylmnx/followers","following_url":"https://api.github.com/users/darkylmnx/following{/other_user}","gists_url":"https://api.github.com/users/darkylmnx/gists{/gist_id}","starred_url":"https://api.github.com/users/darkylmnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkylmnx/subscriptions","organizations_url":"https://api.github.com/users/darkylmnx/orgs","repos_url":"https://api.github.com/users/darkylmnx/repos","events_url":"https://api.github.com/users/darkylmnx/events{/privacy}","received_events_url":"https://api.github.com/users/darkylmnx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-07T13:38:07Z","updated_at":"2016-10-07T18:38:28Z","closed_at":"2016-10-07T18:38:28Z","body":"How can i get / access webpack ENV (process.env) variables during process time (not runtime in browser) ? the webpack.DefinePlugin(...) doesn't seem to work in html files, i don't have access to ENV variables in the main index.html\r\n\r\nany solution ? is it normal ?"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/252328977","html_url":"https://github.com/webpack/webpack/issues/3105#issuecomment-252328977","issue_url":"https://api.github.com/repos/webpack/webpack/issues/3105","id":252328977,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T18:38:28Z","updated_at":"2016-10-07T18:38:28Z","body":"Yeah, please re-open at Stack Overflow for more ideas. I would recommend looking into html-webpack-plugin."}}
{"actor":{"display_login":"bebraw"}}