File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ and replace `react-scripts` in `package.json`:
193
193
* alias outside of ` src ` is not possible, only in directory specified in ` baseUrl `
194
194
* for each folder in ` src ` alias created automatically with same name as folder
195
195
196
+ See also experimental [ autoscan] ( https://github.com/oklas/react-app-alias/issues/70 ) feature
197
+
196
198
197
199
#### API
198
200
@@ -201,8 +203,9 @@ and replace `react-scripts` in `package.json`:
201
203
``` ts
202
204
Options {
203
205
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
206
209
}
207
210
```
208
211
You can’t perform that action at this time.
0 commit comments