Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] use
file://
URLs for dynamic import()
This is required on Windows if the argument passed to `import()` is an absolute path. Without it `tape test.js` fails if test.js is ESM. Covered by existing tests: `node test/import.js` fails without this. See nodejs/node@a084632
- Loading branch information