{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel-loader/issues/631","repository_url":"https://api.github.com/repos/babel/babel-loader","labels_url":"https://api.github.com/repos/babel/babel-loader/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-loader/issues/631/comments","events_url":"https://api.github.com/repos/babel/babel-loader/issues/631/events","html_url":"https://github.com/babel/babel-loader/issues/631","id":335200915,"node_id":"MDU6SXNzdWUzMzUyMDA5MTU=","number":631,"title":"Use Webpack mode to setup Babel environment","user":{"login":"MindaugasVarkalys","id":6805516,"node_id":"MDQ6VXNlcjY4MDU1MTY=","avatar_url":"https://avatars2.githubusercontent.com/u/6805516?v=4","gravatar_id":"","url":"https://api.github.com/users/MindaugasVarkalys","html_url":"https://github.com/MindaugasVarkalys","followers_url":"https://api.github.com/users/MindaugasVarkalys/followers","following_url":"https://api.github.com/users/MindaugasVarkalys/following{/other_user}","gists_url":"https://api.github.com/users/MindaugasVarkalys/gists{/gist_id}","starred_url":"https://api.github.com/users/MindaugasVarkalys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MindaugasVarkalys/subscriptions","organizations_url":"https://api.github.com/users/MindaugasVarkalys/orgs","repos_url":"https://api.github.com/users/MindaugasVarkalys/repos","events_url":"https://api.github.com/users/MindaugasVarkalys/events{/privacy}","received_events_url":"https://api.github.com/users/MindaugasVarkalys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-24T18:26:26Z","updated_at":"2018-09-02T21:30:04Z","closed_at":"2018-09-02T21:30:04Z","author_association":"NONE","body":"Currently to change Babel environment it's needed to specify `BABEL_ENV` variable or add additional `envName` configuration to loader's options.\r\n\r\nWouldn't be great if by default babel-loader would use webpack `mode` to set proper environment for Babel without any additional configuration?"}}
{"actor":{"display_login":"loganfsmyth"}}