Skip to content

Commit 1bc1ddd

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 <duhamelantoine1995@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent cbbefca commit 1bc1ddd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)