Skip to content

Commit 524bc53

Browse files
docs: add tsconfig config doc (#77)
Co-authored-by: neverland <jait.chen@foxmail.com>
1 parent 595644f commit 524bc53

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 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 | | A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
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's tsconfig |
134+
127135
### Unimplemented Options
128136

129137
| Field | Default | Description |

0 commit comments

Comments
 (0)