{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2322","labels_url":"https://api.github.com/repos/babel/babel/issues/2322/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2322/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2322/events","html_url":"https://github.com/babel/babel/issues/2322","id":104840367,"number":2322,"title":"Babel breaks in IE8 when using ES6 modules","user":{"login":"kossnocorp","id":52201,"avatar_url":"https://avatars.githubusercontent.com/u/52201?v=3","gravatar_id":"","url":"https://api.github.com/users/kossnocorp","html_url":"https://github.com/kossnocorp","followers_url":"https://api.github.com/users/kossnocorp/followers","following_url":"https://api.github.com/users/kossnocorp/following{/other_user}","gists_url":"https://api.github.com/users/kossnocorp/gists{/gist_id}","starred_url":"https://api.github.com/users/kossnocorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kossnocorp/subscriptions","organizations_url":"https://api.github.com/users/kossnocorp/orgs","repos_url":"https://api.github.com/users/kossnocorp/repos","events_url":"https://api.github.com/users/kossnocorp/events{/privacy}","received_events_url":"https://api.github.com/users/kossnocorp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-04T07:07:10Z","updated_at":"2015-09-07T05:43:03Z","closed_at":"2015-09-04T15:02:51Z","body":"Given code:\r\n\r\n``` js\r\nexport {something as default}\r\n```\r\n\r\n… generates such snippet in the start of the file:\r\n\r\n``` js\r\nObject.defineProperty(exports, '__esModule', {\r\n  value: true\r\n})\r\n\r\n// ...\r\n```\r\n\r\n… that leads to exception in IE8. There is no way to fix it using shims because in IE8 `Object.defineProperty` can only be used on DOM objects."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/138192025","html_url":"https://github.com/babel/babel/issues/2322#issuecomment-138192025","issue_url":"https://api.github.com/repos/babel/babel/issues/2322","id":138192025,"user":{"login":"zloirock","id":2213682,"avatar_url":"https://avatars.githubusercontent.com/u/2213682?v=3","gravatar_id":"","url":"https://api.github.com/users/zloirock","html_url":"https://github.com/zloirock","followers_url":"https://api.github.com/users/zloirock/followers","following_url":"https://api.github.com/users/zloirock/following{/other_user}","gists_url":"https://api.github.com/users/zloirock/gists{/gist_id}","starred_url":"https://api.github.com/users/zloirock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zloirock/subscriptions","organizations_url":"https://api.github.com/users/zloirock/orgs","repos_url":"https://api.github.com/users/zloirock/repos","events_url":"https://api.github.com/users/zloirock/events{/privacy}","received_events_url":"https://api.github.com/users/zloirock/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T05:43:03Z","updated_at":"2015-09-07T05:43:03Z","body":"@kossnocorp this code fixes your problem."}}