File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,13 @@ Install with [npm](https://www.npmjs.com/):
4040``` ts
4141export interface rcConfigLoaderOption {
4242 // does look for `package.json`
43- packageJSON? : boolean ,
43+ packageJSON? : boolean | {
44+ fieldName: string ;
45+ };
4446 // if config file name is not same with packageName, set the name
4547 configFileName? : string ;
4648 // treat default(no ext file) as some extension
47- defaultExtension? : string | string [],
49+ defaultExtension? : string | string [];
4850 // where start to load
4951 cwd? : string ;
5052}
Original file line number Diff line number Diff line change 11export interface rcConfigLoaderOption {
22 // does look for `package.json`
3- packageJSON ?: boolean ;
3+ packageJSON ?:
4+ | boolean
5+ | {
6+ fieldName : string ;
7+ } ;
48 // if config file name is not same with packageName, set the name
59 configFileName ?: string ;
610 // treat default(no ext file) as some extension
You can’t perform that action at this time.
0 commit comments