You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Expected Identifier
Which traces back to the following code:
define('qualaris-mantra/components/ember-wormhole',['exports','ember-wormhole/components/ember-wormhole'],function(exports,ember_wormhole){'use strict';exports.default=ember_wormhole.default;// Error points to this line});
I went and looked up the ember-wormhole code that corresponds to this module, and it can be found here. In case you don't feel like following the link, it's just re-exporting another module.
Is this an issue on Babel's end? To me, it seems like the problem is that Babel translates the re-export to
exports.default=ember_wormhole.default;
instead of
exports['default']=ember_wormhole['default'];
I 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.
This was originally opened as an issue as an issue on Babel's repo but we determined that it's probably not an issue with Babel's core. It think it's more likely that the problem is with the transformation the the CLI uses to handle modules instead.
The text was updated successfully, but these errors were encountered:
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:
Which traces back to the following code:
I went and looked up the
ember-wormhole
code that corresponds to this module, and it can be found here. In case you don't feel like following the link, it's just re-exporting another module.Is this an issue on Babel's end? To me, it seems like the problem is that Babel translates the re-export to
instead of
I 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.This was originally opened as an issue as an issue on Babel's repo but we determined that it's probably not an issue with Babel's core. It think it's more likely that the problem is with the transformation the the CLI uses to handle modules instead.
The text was updated successfully, but these errors were encountered: