You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| tsconfig | None | TypeScript related config for resolver |
173
-
| tsconfig.configFile || A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
174
-
| 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 |
175
-
| enablePnp | false | Enable Yarn Plug'n'Play support |
176
-
| pnpManifest | None | Absolute path to the Yarn Plug'n'Play manifest file; takes effect when PnP is enabled. <br/> - `None`: PnP manifest located in the nearest ancestor directory from every resolving's path; <br/> - `Some(PathBuf)`: Use a specific PnP manifest file. This is useful when enabling PnP with `enableGlobalCache: true`, but users must ensure there are no cross-project requires across Yarn PnP projects. |
| tsconfig | None | TypeScript related config for resolver |
173
+
| tsconfig.configFile || A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
174
+
| 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 |
175
+
| enablePnp | false | Enable Yarn Plug'n'Play support |
176
+
| pnpManifest | None | Absolute path to the Yarn Plug'n'Play manifest file; takes effect when PnP is enabled. <br/> - `None`: PnP manifest located in the nearest ancestor directory from every resolving's path; <br/> - `Some(PathBuf)`: Use a specific PnP manifest file. This is useful when enabling PnP with `enableGlobalCache: true`, but users must ensure there are no cross-project requires across Yarn PnP projects. |
177
177
178
178
In the context of `@rspack/resolver`, the `tsconfig.references` option helps isolate the `paths` configurations of different TypeScript projects.
179
179
This ensures that path aliases defined in one TypeScript project do not unintentionally affect the resolving behavior of another.
0 commit comments