@@ -246,14 +246,21 @@ empty configuration entry.
246
246
undefined, packagePath: undefined }_ .
247
247
248
248
> ** RESOLVE_FILE(filePath: String): String**
249
- > 1 . If _ filePath_ is a file, return _ X_ .
250
- > 1 . If _ "${filePath}.mjs"_ is a file, return _ "${filePath}.mjs"_ .
251
- > 1 . If _ "${filePath}.js"_ is a file, return _ "${filePath}.js"_ .
252
- > 1 . If _ "${filePath}.json"_ is a file, return _ "${filePath}.json"_ .
253
- > 1 . If _ "${filePath}.node"_ is a file, return _ "${filePath}.node"_ .
254
- > 1 . If _ "${filePath}/index.js"_ is a file, return _ "${filePath}/index.js"_ .
255
- > 1 . If _ "${filePath}/index.json"_ is a file, return _ "${filePath}/index.json"_ .
256
- > 1 . If _ "${filePath}/index.node"_ is a file, return _ "${filePath}/index.node"_ .
249
+ > 1 . If _ filePath_ is a file, return the real path of _ filePath_ .
250
+ > 1 . If _ "${filePath}.mjs"_ is a file, return return the real path of
251
+ _ "${filePath}.mjs"_ .
252
+ > 1 . If _ "${filePath}.js"_ is a file, return return the real path of
253
+ _ "${filePath}.js"_ .
254
+ > 1 . If _ "${filePath}.json"_ is a file, return return the real path of
255
+ _ "${filePath}.json"_ .
256
+ > 1 . If _ "${filePath}.node"_ is a file, return return the real path of
257
+ _ "${filePath}.node"_ .
258
+ > 1 . If _ "${filePath}/index.js"_ is a file, return return the real path of
259
+ _ "${filePath}/index.js"_ .
260
+ > 1 . If _ "${filePath}/index.json"_ is a file, return return the real path of
261
+ _ "${filePath}/index.json"_ .
262
+ > 1 . If _ "${filePath}/index.node"_ is a file, return return the real path of
263
+ _ "${filePath}/index.node"_ .
257
264
> 1 . Return _ undefined_ .
258
265
259
266
> ** NODE_MODULES_RESOLVE(name: String, parentPath: String): String**
0 commit comments