doc: caveat unavailability of import.meta.resolve in custom loaders

PR-URL: https://github.com/nodejs/node/pull/49242
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
This commit is contained in:
Jacob Smith 2023-08-19 18:45:02 +02:00 committed by GitHub
parent cb4a6fafe6
commit 41a3a1daa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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