{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel-loader/issues/254","repository_url":"https://api.github.com/repos/babel/babel-loader","labels_url":"https://api.github.com/repos/babel/babel-loader/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-loader/issues/254/comments","events_url":"https://api.github.com/repos/babel/babel-loader/issues/254/events","html_url":"https://github.com/babel/babel-loader/pull/254","id":157537604,"number":254,"title":"pass metadata form babel to a webpack plugin","user":{"login":"Ognian","id":1231174,"avatar_url":"https://avatars.githubusercontent.com/u/1231174?v=3","gravatar_id":"","url":"https://api.github.com/users/Ognian","html_url":"https://github.com/Ognian","followers_url":"https://api.github.com/users/Ognian/followers","following_url":"https://api.github.com/users/Ognian/following{/other_user}","gists_url":"https://api.github.com/users/Ognian/gists{/gist_id}","starred_url":"https://api.github.com/users/Ognian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ognian/subscriptions","organizations_url":"https://api.github.com/users/Ognian/orgs","repos_url":"https://api.github.com/users/Ognian/repos","events_url":"https://api.github.com/users/Ognian/events{/privacy}","received_events_url":"https://api.github.com/users/Ognian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-30T17:36:27Z","updated_at":"2016-06-08T09:25:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babel-loader/pulls/254","html_url":"https://github.com/babel/babel-loader/pull/254","diff_url":"https://github.com/babel/babel-loader/pull/254.diff","patch_url":"https://github.com/babel/babel-loader/pull/254.patch"},"body":"- add metadataSubscribers option as an array of context functions to call\r\n- pass metadata to metadataSubscribers functions\r\n- add .idea to .gitignore\r\n\r\nThis is needed when generating messages for translation from modules:\r\n\r\n- there is the babel-react-intl plugin, which returns the messages it finds in the module in the metadata[react-int] property. (babel returns not only source code and source map but also the ast and the metadata property )\r\n- since babel loader returns only source code and source map, I extended it to return metadata too. A webpack plugin is now able to aggregate all this metadata...\r\n\r\nI will publish such a plugin asap (ReactIntlPlugin)"},"comment":{"url":"https://api.github.com/repos/babel/babel-loader/issues/comments/224536445","html_url":"https://github.com/babel/babel-loader/pull/254#issuecomment-224536445","issue_url":"https://api.github.com/repos/babel/babel-loader/issues/254","id":224536445,"user":{"login":"Ognian","id":1231174,"avatar_url":"https://avatars.githubusercontent.com/u/1231174?v=3","gravatar_id":"","url":"https://api.github.com/users/Ognian","html_url":"https://github.com/Ognian","followers_url":"https://api.github.com/users/Ognian/followers","following_url":"https://api.github.com/users/Ognian/following{/other_user}","gists_url":"https://api.github.com/users/Ognian/gists{/gist_id}","starred_url":"https://api.github.com/users/Ognian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ognian/subscriptions","organizations_url":"https://api.github.com/users/Ognian/orgs","repos_url":"https://api.github.com/users/Ognian/repos","events_url":"https://api.github.com/users/Ognian/events{/privacy}","received_events_url":"https://api.github.com/users/Ognian/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T09:25:36Z","updated_at":"2016-06-08T09:25:36Z","body":"@Couto does this have a chance to get merged?"}}
{"actor":{"display_login":"Ognian"}}