Skip to content

Commit 5a363bb

Browse files
JakobJingleheimerUlisesGascon
authored andcommitted
doc: caveat unavailability of import.meta.resolve in custom loaders
PR-URL: #49242 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent 8101f2b commit 5a363bb

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)