diff --git a/README.md b/README.md
index a45e58c..b287381 100644
--- a/README.md
+++ b/README.md
@@ -167,12 +167,12 @@ The options are aligned with [enhanced-resolve](https://github.com/webpack/enhan
### Other Options
-| Field | Default | Description |
-| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| tsconfig | None | TypeScript related config for resolver |
-| tsconfig.configFile | | A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
-| tsconfig.references | `[]` | - 'auto': inherits from TypeScript config - `string []`: relative path (based on directory of the referencing tsconfig file) or absolute path of referenced project's tsconfig |
-| enablePnp | false | Enable Yarn Plug'n'Play support |
+| Field | Default | Description |
+| ------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| tsconfig | None | TypeScript related config for resolver |
+| tsconfig.configFile | | A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
+| tsconfig.references | `[]` | - 'auto': inherits from TypeScript config - `string []`: relative path (based on directory of the referencing tsconfig file) or absolute path of referenced project's tsconfig |
+| enablePnp | false | Enable Yarn Plug'n'Play support |
In the context of `@rspack/resolver`, the `tsconfig.references` option helps isolate the `paths` configurations of different TypeScript projects.
This ensures that path aliases defined in one TypeScript project do not unintentionally affect the resolving behavior of another.
diff --git a/src/cache.rs b/src/cache.rs
index 8d54f36..06e693a 100644
--- a/src/cache.rs
+++ b/src/cache.rs
@@ -106,7 +106,7 @@ impl Cache {
}
}
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub struct CachedPath(Arc);
impl Hash for CachedPath {
@@ -158,6 +158,12 @@ pub struct CachedPathImpl {
package_json: OnceLock