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
Backport-PR-URL: #50669
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
  • Loading branch information
JakobJingleheimer authored and targos committed Nov 23, 2023
1 parent e8d475f commit 58eaf3f
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 @@ -375,6 +375,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 58eaf3f

Please sign in to comment.