esperantojs / esperanto

DEPRECATED: An easier way to convert ES6 modules to AMD and CommonJS
http://esperantojs.org
234 stars 21 forks source link

External module name clashes #114

Closed Rich-Harris closed 9 years ago

Rich-Harris commented 9 years ago

If you have a situation like this...

// main.js
import x from "moment";
import a from './a';

// a.js
var x = 'wut';
export default x;

...the x name isn't deconflicted between the reference that's internal to a.js, and the external module. Fix inbound

Rich-Harris commented 9 years ago

Fixed in 0.6.15