Skip to content

Commit 0a3e2e8

Browse files
committed
docs: add tsconfig config doc
1 parent e904259 commit 0a3e2e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,14 @@ The options are aligned with [enhanced-resolve].
124124
| roots | [] | A list of root paths |
125125
| symlinks | true | Whether to resolve symlinks to their symlinked location |
126126

127+
### Other Options
128+
129+
| Field | Default | Description |
130+
|---------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
131+
| tsconfig | None | Typescript related config for resolver |
132+
| tsconfig.tsconfig | | Relative path to tsconfig file based on cwd or absolute path of tsconfig |
133+
| tsconfig.references | [] | - 'auto': inherits from Typescript config <br/> - `string []`: relative path(based on directory of the referencing tsconfig file) or absolute path of referenced project tsconfig |
134+
127135
### Unimplemented Options
128136

129137
| Field | Default | Description |
@@ -134,3 +142,4 @@ The options are aligned with [enhanced-resolve].
134142
| resolver | undefined | A prepared Resolver to which the plugins are attached |
135143
| unsafeCache | false | Use this cache object to unsafely cache the successful requests
136144

145+

0 commit comments

Comments
 (0)