esperantojs / esperanto

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

Preserve comments after imports #189

Closed timhall closed 9 years ago

timhall commented 9 years ago

Updates findImportsAndExports to use next comment or node after imports, whichever is closest. Previously, it only looked for the next node after import, removing any comments that occurred in between.

Fixes #187

Rich-Harris commented 9 years ago

Thanks!