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
60 stars 22 forks source link

support extensionless entrypoints #9

Closed bengl closed 2 years ago

bengl commented 2 years ago

Roughly replicates the behaviour of stock Node.js without loaders where extensionless entrypoints are treated as CJS.

This allows IITM to work with such tools as mocha.