Skip to content

Commit efa6e1d

Browse files
committed
doc: list Unsupported Directory Import resolve err
PR-URL: #37032 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 90cae3a commit efa6e1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/api/esm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,8 @@ The resolver can throw the following errors:
10161016
subpath in the package for the given module.
10171017
* _Package Import Not Defined_: Package imports do not define the specifier.
10181018
* _Module Not Found_: The package or module requested does not exist.
1019+
* _Unsupported Directory Import_: The resolved path corresponds to a directory,
1020+
which is not a supported target for module imports.
10191021

10201022
### Resolver Algorithm Specification
10211023

0 commit comments

Comments
 (0)