Skip to content

Commit 2cfe795

Browse files
guybedfordtargos
authored andcommitted
doc: list Unsupported Directory Import resolve err
PR-URL: #37032 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 2135618 commit 2cfe795

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/esm.md

+2
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,8 @@ The resolver can throw the following errors:
10121012
subpath in the package for the given module.
10131013
* _Package Import Not Defined_: Package imports do not define the specifier.
10141014
* _Module Not Found_: The package or module requested does not exist.
1015+
* _Unsupported Directory Import_: The resolved path corresponds to a directory,
1016+
which is not a supported target for module imports.
10151017

10161018
### Resolver Algorithm Specification
10171019

0 commit comments

Comments
 (0)