Skip to content

Commit 41a3a1d

Browse files
doc: caveat unavailability of import.meta.resolve in custom loaders
PR-URL: #49242 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
1 parent cb4a6fa commit 41a3a1d

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
@@ -376,6 +376,9 @@ behind the `--experimental-import-meta-resolve` flag:
376376
377377
* `parent` {string|URL} An optional absolute parent module URL to resolve from.
378378
379+
> **Caveat** This feature is not available within custom loaders (it would
380+
> create a deadlock).
381+
379382
## Interoperability with CommonJS
380383
381384
### `import` statements

0 commit comments

Comments
 (0)