summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/esm.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 3f163225f1..846ecead03 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -871,8 +871,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.
-<details>
-<summary>Resolver algorithm specification</summary>
+### Resolver Algorithm Specification
**ESM_RESOLVE**(_specifier_, _parentURL_)
@@ -1126,8 +1125,6 @@ _internal_, _conditions_)
> 1. Throw an _Invalid Package Configuration_ error.
> 1. Return the parsed JSON source of the file at _pjsonURL_.
-</details>
-
### Customizing ESM specifier resolution algorithm
The current specifier resolution does not support all default behavior of