mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
doc: list Unsupported Directory Import resolve err
PR-URL: https://github.com/nodejs/node/pull/37032 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
90cae3acee
commit
efa6e1d651
1 file changed
+2
@@ -1016,6 +1016,8 @@ The resolver can throw the following errors:
|
||||
subpath in the package for the given module.
|
||||
* _Package Import Not Defined_: Package imports do not define the specifier.
|
||||
* _Module Not Found_: The package or module requested does not exist.
|
||||
* _Unsupported Directory Import_: The resolved path corresponds to a directory,
|
||||
which is not a supported target for module imports.
|
||||
|
||||
### Resolver Algorithm Specification
|
||||
|
||||
|
||||
Reference in new issue
Block a user