We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a21e0f commit e17c261Copy full SHA for e17c261
doc/api/modules.md
@@ -235,7 +235,7 @@ the `require.resolve()` function.
235
Putting together all of the above, here is the high-level algorithm
236
in pseudocode of what `require()` does:
237
238
-<pre>
+```text
239
require(X) from module at path Y
240
1. If X is a core module,
241
a. return the core module
@@ -347,7 +347,7 @@ RESOLVE_ESM_MATCH(MATCH)
347
2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
348
format. STOP
349
3. THROW "not found"
350
-</pre>
+```
351
352
## Caching
353
0 commit comments