Closed m-ronchi closed 1 year ago
That's probably related to the fact that transpilation to esm doesn't add .js
into extensions. This will definitely need to be fixed.
Fixed in v1.0.1.
Please reopen if the issue persists, but I hope that I've tested it enough so that it works :P
if I try to use earl from inside an ESM module, mocha fails with the fllowing error:
thinking it is a commonjs because of the missing
"type": "module"
in package.json.if I modify the import as suggested, I get a different error: