{"action":"closed","issue":{"url":"https://api.github.com/repos/baberutv/baberutv/issues/123","repository_url":"https://api.github.com/repos/baberutv/baberutv","labels_url":"https://api.github.com/repos/baberutv/baberutv/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/baberutv/baberutv/issues/123/comments","events_url":"https://api.github.com/repos/baberutv/baberutv/issues/123/events","html_url":"https://github.com/baberutv/baberutv/issues/123","id":189922059,"number":123,"title":"`EnvironmentPlugin`を使う","user":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"labels":[{"id":470042928,"url":"https://api.github.com/repos/baberutv/baberutv/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/baberutv/baberutv/milestones/1","html_url":"https://github.com/baberutv/baberutv/milestones/1.0.0","labels_url":"https://api.github.com/repos/baberutv/baberutv/milestones/1/labels","id":2097790,"number":1,"title":"1.0.0","description":"","creator":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":103,"state":"open","created_at":"2016-10-27T15:35:28Z","updated_at":"2016-11-17T15:03:28Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-11-17T03:02:00Z","updated_at":"2016-11-17T15:03:28Z","closed_at":"2016-11-17T15:03:28Z","body":"[webpack](https://webpack.github.io/)でのビルド時に[`DefinePlugin`](https://github.com/webpack/docs/wiki/list-of-plugins#defineplugin)を用いて`process.env.NODE_ENV`を置換させている ([`webpack.config.js` 53行目](https://github.com/baberutv/baberutv/blob/v0.4.2/webpack.config.js#L53)) が、この用途であれば[`EnvironmentPlugin`](https://github.com/webpack/docs/wiki/list-of-plugins#environmentplugin)で事足りる。\r\n\r\n`EnvironmentPlugin`は内部で`DefinePlugin`を使っているだけなので、置き換えても動作的な差異はなさそう。"}}
{"actor":{"display_login":"ykzts"}}