diff --git a/doc/api/esm.md b/doc/api/esm.md index d9f4007c494825..320f94482ee415 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -953,8 +953,7 @@ The resolver can throw the following errors: * _Package Import Not Defined_: Package imports do not define the specifier. * _Module Not Found_: The package or module requested does not exist. -
-Resolver algorithm specification +### Resolver Algorithm Specification **ESM_RESOLVE**(_specifier_, _parentURL_) @@ -1208,8 +1207,6 @@ _internal_, _conditions_) > 1. Throw an _Invalid Package Configuration_ error. > 1. Return the parsed JSON source of the file at _pjsonURL_. -
- ### Customizing ESM specifier resolution algorithm The current specifier resolution does not support all default behavior of