We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86088ab commit 7b0d6deCopy full SHA for 7b0d6de
doc/api/modules.md
@@ -272,15 +272,10 @@ LOAD_PACKAGE_SELF(X, DIR)
272
6. RESOLVE_ESM_MATCH(MATCH)
273
274
RESOLVE_ESM_MATCH(MATCH)
275
-1. let { RESOLVED, EXACT } = MATCH
276
-2. let RESOLVED_PATH = fileURLToPath(RESOLVED)
277
-3. If EXACT is true,
278
- a. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
279
- format. STOP
280
-4. Otherwise, if EXACT is false,
281
- a. LOAD_AS_FILE(RESOLVED_PATH)
282
- b. LOAD_AS_DIRECTORY(RESOLVED_PATH)
283
-5. THROW "not found"
+1. let RESOLVED_PATH = fileURLToPath(MATCH)
+2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
+ format. STOP
+3. THROW "not found"
284
</pre>
285
286
## Caching
0 commit comments