Skip to content

Commit 1df7903

Browse files
committed
doc: caveat unavailability of import.meta.resolve in custom
PR-URL: nodejs/node#49242 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
1 parent f3b2f78 commit 1df7903

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graal-nodejs/doc/api/esm.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ behind the `--experimental-import-meta-resolve` flag:
375375
376376
* `parent` {string|URL} An optional absolute parent module URL to resolve from.
377377
378+
> **Caveat** This feature is not available within custom loaders (it would
379+
> create a deadlock).
380+
378381
## Interoperability with CommonJS
379382
380383
### `import` statements

0 commit comments

Comments
 (0)