esperantojs / esperanto

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

options.name is not working #100

Closed leobalter closed 9 years ago

leobalter commented 9 years ago

The name option should be used to set the global export. I was expecting the umd code to make a reference to the global scope, but it doesn't even in the wiki documentation.

I experienced this at developit/grunt-esperanto#4

I've seen the issue #96, where this option might also be unnecessary, but at this moment it's only being necessary for validation, as the name must be supplied, but will not be used.

leobalter commented 9 years ago

nevermind, it's too late and I need to go home. :)

leobalter commented 9 years ago

Just to point out, the error I addressed happened because of the same issue in #96. I've got this working when I set a default export name. Keeping this issue would be a duplicate.