Skip to content

Commit

Permalink
doc: caveat unavailability of import.meta.resolve in custom loaders
Browse files Browse the repository at this point in the history
PR-URL: #49242
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
  • Loading branch information
JakobJingleheimer authored Aug 19, 2023
1 parent cb4a6fa commit 41a3a1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ behind the `--experimental-import-meta-resolve` flag:
* `parent` {string|URL} An optional absolute parent module URL to resolve from.
> **Caveat** This feature is not available within custom loaders (it would
> create a deadlock).
## Interoperability with CommonJS
### `import` statements
Expand Down

0 comments on commit 41a3a1d

Please sign in to comment.