Skip to content

Commit 58eaf3f

Browse files
JakobJingleheimertargos
authored andcommitted
doc: caveat unavailability of import.meta.resolve in custom loaders
PR-URL: #49242 Backport-PR-URL: #50669 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
1 parent e8d475f commit 58eaf3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/esm.md

+3
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)