nodejs / import-in-the-middle

Like `require-in-the-middle`, but for ESM import
https://www.npmjs.com/package/import-in-the-middle
Apache License 2.0
72 stars 27 forks source link

Support `export * from 'module'` ESM syntax #43

Closed jsumners-nr closed 11 months ago

jsumners-nr commented 11 months ago

This change adds support for modules that export entities through the export * from 'module' ESM syntax. This resolves issue #31.

jsumners-nr commented 11 months ago

Putting this in draft because there is another case that needs to be handled.

jsumners-nr commented 11 months ago

Okay, I can't promise this is going to work for everything, but it at least clear the reproduction case provided in #31.