Skip to content

Commit 9b0cfea

Browse files
committed
docs: mention baseUrl option #10
1 parent c8dbd72 commit 9b0cfea

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ and replace `react-scripts` in `package.json`:
193193
* alias outside of `src` is not possible, only in directory specified in `baseUrl`
194194
* for each folder in `src` alias created automatically with same name as folder
195195

196+
See also experimental [autoscan](https://github.com/oklas/react-app-alias/issues/70) feature
197+
196198

197199
#### API
198200

@@ -201,8 +203,9 @@ and replace `react-scripts` in `package.json`:
201203
```ts
202204
Options {
203205
alias?: { [alias: string]: string }; // optional alias map
204-
tsconfig?: string, // optinal tsconfig.json path
205-
jsconfig?: string, // options jsconfig.json path
206+
tsconfig?: string, // optional tsconfig.json path
207+
jsconfig?: string, // optional jsconfig.json path
208+
baseUrl?: string, // optional by default from config
206209
}
207210
```
208211

0 commit comments

Comments
 (0)