summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2020-09-25 21:22:17 -0700
committerMyles Borins <mylesborins@github.com>2020-11-16 11:57:56 -0500
commitc192af66e7e8c98f86c567a8bef7a5eaf00ec47b (patch)
treea2ba529e094f23a664a9b19892f9a330d768fc5e /doc
parent2e766a6adf9c6a2859a134ed4184cbb9d5558a20 (diff)
downloadnode-new-c192af66e7e8c98f86c567a8bef7a5eaf00ec47b.tar.gz
doc: unhide resolver spec
PR-URL: https://github.com/nodejs/node/pull/35358 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-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 d9f4007c49..320f94482e 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.
-<details>
-<summary>Resolver algorithm specification</summary>
+### 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_.
-</details>
-
### Customizing ESM specifier resolution algorithm
The current specifier resolution does not support all default behavior of