| | |
| | | #### Resolver Options |
| | | |
| | | | Field | Default | Description | |
| | | | ---------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| | | | ------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| | | | alias | [] | A list of module alias configurations or an object which maps key to value | |
| | | | aliasFields | [] | A list of alias fields in description files | |
| | | | extensionAlias | {} | An object which maps extension to extension aliases | |
| | |
| | | | restrictions | [] | A list of resolve restrictions | |
| | | | roots | [] | A list of root paths | |
| | | | symlinks | true | Whether to resolve symlinks to their symlinked location | |
| | | | tsconfig | false | TypeScript config for paths mapping. Can be `false` (disabled), `true` (use default `tsconfig.json`), a string path to `tsconfig.json`, or an object with `configFile`, `references`, and `baseUrl` options. Supports JSONC format (comments and trailing commas) like TypeScript compiler. | |
| | | | tsconfig.configFile | tsconfig.json | Path to the tsconfig.json file | |
| | | | tsconfig.references | [] | Project references. `'auto'` to load from tsconfig, or an array of paths to referenced projects | |
| | | | tsconfig.baseUrl | undefined | Override baseUrl from tsconfig.json. If provided, this value will be used instead of the baseUrl in the tsconfig file | |
| | | | unsafeCache | false | Use this cache object to unsafely cache the successful requests | |
| | | |
| | | ## Plugins |
| | |
| | | ## Tests |
| | | |
| | | ```sh |
| | | yarn test |
| | | npm run test |
| | | ``` |
| | | |
| | | ## Passing options from webpack |