{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2117","labels_url":"https://api.github.com/repos/babel/babel/issues/2117/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2117/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2117/events","html_url":"https://github.com/babel/babel/issues/2117","id":97992586,"number":2117,"title":"Re-rexporting a module compiled to `export.default = ...`","user":{"login":"alexlafroscia","id":1645881,"avatar_url":"https://avatars.githubusercontent.com/u/1645881?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlafroscia","html_url":"https://github.com/alexlafroscia","followers_url":"https://api.github.com/users/alexlafroscia/followers","following_url":"https://api.github.com/users/alexlafroscia/following{/other_user}","gists_url":"https://api.github.com/users/alexlafroscia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlafroscia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlafroscia/subscriptions","organizations_url":"https://api.github.com/users/alexlafroscia/orgs","repos_url":"https://api.github.com/users/alexlafroscia/repos","events_url":"https://api.github.com/users/alexlafroscia/events{/privacy}","received_events_url":"https://api.github.com/users/alexlafroscia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-29T17:54:06Z","updated_at":"2015-07-29T18:20:42Z","closed_at":null,"body":"I've been doing some IE debugging and noticed a show-stopper that seems to fall into Babel's territory.  I keep getting the following issue:\r\n\r\n> Expected Identifier\r\n\r\nWhich traces back to the following code:\r\n\r\n```javascript\r\ndefine('qualaris-mantra/components/ember-wormhole', ['exports', 'ember-wormhole/components/ember-wormhole'], function (exports, ember_wormhole) {\r\n\r\n\t'use strict';\r\n\r\n\texports.default = ember_wormhole.default; // Error points to this line\r\n\r\n});\r\n```\r\n\r\nI went and looked up the `ember-wormhole` code that corresponds to this module, and it can be found [here](https://github.com/yapplabs/ember-wormhole/blob/master/app/components/ember-wormhole.js#L1).  In case you don't feel like following the link, it's just re-exporting another module.\r\n\r\nIs this an issue on Babel's end? To me, it seems like the problem is that Babel translates the re-export to\r\n\r\n```javascript\r\nexports.default = ember_wormhole.default;\r\n```\r\n\r\ninstead of\r\n\r\n```javascript\r\nexports['default'] = ember_wormhole['default'];\r\n```\r\n\r\nI looked around at all the other modules and they all seem to use the `exports['default']` syntax.  It's only an issue with IE, and all the other modules seem to be OK."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/126048425","html_url":"https://github.com/babel/babel/issues/2117#issuecomment-126048425","issue_url":"https://api.github.com/repos/babel/babel/issues/2117","id":126048425,"user":{"login":"alexlafroscia","id":1645881,"avatar_url":"https://avatars.githubusercontent.com/u/1645881?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlafroscia","html_url":"https://github.com/alexlafroscia","followers_url":"https://api.github.com/users/alexlafroscia/followers","following_url":"https://api.github.com/users/alexlafroscia/following{/other_user}","gists_url":"https://api.github.com/users/alexlafroscia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlafroscia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlafroscia/subscriptions","organizations_url":"https://api.github.com/users/alexlafroscia/orgs","repos_url":"https://api.github.com/users/alexlafroscia/repos","events_url":"https://api.github.com/users/alexlafroscia/events{/privacy}","received_events_url":"https://api.github.com/users/alexlafroscia/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T18:20:42Z","updated_at":"2015-07-29T18:20:42Z","body":"Alright, no problem. I'll look into making a repo to isolate the problem."}}