{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/2537","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/2537/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/2537/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/2537/events","html_url":"https://github.com/webpack/webpack/issues/2537","id":156304027,"number":2537,"title":"Webpack 2: -p option does not set NODE_ENV to \"production\" in webpack config","user":{"login":"aight8","id":1138623,"avatar_url":"https://avatars.githubusercontent.com/u/1138623?v=3","gravatar_id":"","url":"https://api.github.com/users/aight8","html_url":"https://github.com/aight8","followers_url":"https://api.github.com/users/aight8/followers","following_url":"https://api.github.com/users/aight8/following{/other_user}","gists_url":"https://api.github.com/users/aight8/gists{/gist_id}","starred_url":"https://api.github.com/users/aight8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aight8/subscriptions","organizations_url":"https://api.github.com/users/aight8/orgs","repos_url":"https://api.github.com/users/aight8/repos","events_url":"https://api.github.com/users/aight8/events{/privacy}","received_events_url":"https://api.github.com/users/aight8/received_events","type":"User","site_admin":false},"labels":[{"id":1089824,"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c","default":true},{"id":90419071,"url":"https://api.github.com/repos/webpack/webpack/labels/webpack-2","name":"webpack-2","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-05-23T15:33:37Z","updated_at":"2017-02-16T20:21:32Z","closed_at":null,"body":"Is that an upcoming feature or why isn't the variable set when I try to access it in the webpack config with process.env.NODE_ENV ? I use webpack ^2.1\n\nFurthermore I recognized that when using -p option the UglifyJsPlugin is applied? Don't see that in the documentation anywhere.\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/280447758","html_url":"https://github.com/webpack/webpack/issues/2537#issuecomment-280447758","issue_url":"https://api.github.com/repos/webpack/webpack/issues/2537","id":280447758,"user":{"login":"jacobmischka","id":3939997,"avatar_url":"https://avatars.githubusercontent.com/u/3939997?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmischka","html_url":"https://github.com/jacobmischka","followers_url":"https://api.github.com/users/jacobmischka/followers","following_url":"https://api.github.com/users/jacobmischka/following{/other_user}","gists_url":"https://api.github.com/users/jacobmischka/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmischka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmischka/subscriptions","organizations_url":"https://api.github.com/users/jacobmischka/orgs","repos_url":"https://api.github.com/users/jacobmischka/repos","events_url":"https://api.github.com/users/jacobmischka/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmischka/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T20:21:32Z","updated_at":"2017-02-16T20:21:32Z","body":"I don't think it's even possible to have a regular command line flag like `-p` directly influence the environment variables that node sees."}}
{"actor":{"display_login":"jacobmischka"}}