Skip to content

Commit

Permalink
doc: unhide resolver spec
Browse files Browse the repository at this point in the history
PR-URL: #35358
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
guybedford authored and MylesBorins committed Nov 16, 2020
1 parent 2e766a6 commit c192af6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doc/api/esm.md
Expand Up @@ -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_)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c192af6

Please sign in to comment.