Open zachleat opened 1 month ago
I can confirm that it works in some versions of Node and some not:
Confirmed removing EsmResolver fixes the issue.
Unfortunately, this one looks out of my control. This independent MVP still fails with the same workflow:
node --inspect-brk ./registerer.js
import module from "node:module";
module.register("./empty-file.js");
console.log( "DONE!" );
Do you want to file this upstream at the Node repo or would you like me to?
Until this is fixed upstream you can use the ELEVENTY_SKIP_ESM_RESOLVER
environment variable in 3.0.0-alpha.18 or newer.
Do you want to file this upstream at the Node repo or would you like me to?
You understand this problem better than I do, so you’re probably the one best equipped to file an issue.
Thanks for looking into it!
via @noelleleigh https://github.com/11ty/eleventy/issues/3270#issuecomment-2235171232