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:
parent
cb4a6fafe6
commit
41a3a1daa2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user