Skip to content

Commit 7ec7392

Browse files
authored
docs: update alias and fallback options type and description (#557)
close #556
1 parent 778f015 commit 7ec7392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ See [index.d.ts](https://github.com/oxc-project/oxc-resolver/blob/main/napi/inde
167167

168168
| Field | Default | Description |
169169
| ---------------- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
170-
| alias | [] | A list of module alias configurations or an object which maps key to value |
170+
| alias | | An object of module alias configurations |
171171
| aliasFields | [] | A list of alias fields in description files |
172172
| extensionAlias | {} | An object which maps extension to extension aliases |
173173
| conditionNames | [] | A list of exports field condition names |
174174
| enforceExtension | false | Enforce that a extension from extensions must be used |
175175
| exportsFields | ["exports"] | A list of exports fields in description files |
176176
| extensions | [".js", ".json", ".node"] | A list of extensions which should be tried for files |
177-
| fallback | [] | Same as `alias`, but only used if default resolving fails |
177+
| fallback | | Same as `alias`, but only used if default resolving fails |
178178
| fileSystem | | The file system which should be used |
179179
| fullySpecified | false | Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests) |
180180
| mainFields | ["main"] | A list of main fields in description files |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy