{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1601","labels_url":"https://api.github.com/repos/babel/babel/issues/1601/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1601/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1601/events","html_url":"https://github.com/babel/babel/issues/1601","id":79211568,"number":1601,"title":"[Feature Request] provide import/exports in metadata","user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-22T00:04:14Z","updated_at":"2015-05-23T21:49:10Z","closed_at":null,"body":"given:\r\n\r\n```js\r\n// lib/bar.js\r\nimport foo, { baz } from 'bar';\r\nimport apple from '../orange';\r\n\r\nexport var a = 1;\r\nexport default function User()  { }\r\n```\r\n\r\nmaybe something like ?\r\n\r\n```js\r\nmetadata.deps === {\r\n  imports: [\r\n    {\r\n      id: 'bar',\r\n      imports: ['default', 'baz']\r\n    },\r\n\r\n    {\r\n      id: 'lib/apple',  // these ID's should take into account the optional resolution\r\n      imports: ['default']\r\n    }\r\n  ],\r\n\r\n  exports: [\r\n    'default',\r\n    'a'\r\n  ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/104947326","html_url":"https://github.com/babel/babel/issues/1601#issuecomment-104947326","issue_url":"https://api.github.com/repos/babel/babel/issues/1601","id":104947326,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T21:49:10Z","updated_at":"2015-05-23T21:49:10Z","body":"@novacrazy There's no way for Babel to know the exports of the external module when doing `export * from \"foo\";`."}}