We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef27e6c commit 1b76377Copy full SHA for 1b76377
doc/api/modules.md
@@ -208,9 +208,9 @@ LOAD_SELF_REFERENCE(X, START)
208
1. Find the closest package scope to START.
209
2. If no scope was found, return.
210
3. If the `package.json` has no "exports", return.
211
-4. If the name in `package.json` isn't a prefix of X, throw "not found".
212
-5. Otherwise, load the remainder of X relative to this package as if it
213
- was loaded via `LOAD_NODE_MODULES` with a name in `package.json`.
+4. If the name in `package.json` is a prefix of X, then
+ a. Load the remainder of X relative to this package as if it was
+ loaded via `LOAD_NODE_MODULES` with a name in `package.json`.
214
215
LOAD_PACKAGE_EXPORTS(DIR, X)
216
1. Try to interpret X as a combination of name and subpath where the name
0 commit comments