> For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt.

# Resolver 分析

:::tip

Rspack 支持通过 `features` 开启 Resolver 分析能力；该能力默认关闭，如需启用，可以在 `features` 数组中添加 `resolver`，如下示例。[features 配置](/zh/config/options/options.md)。

```js
new RsdoctorRspackPlugin({
  features: [
    'resolver',
    // ...other features
  ],
});
```

:::

我们在 **Rsdoctor** 内 `Module Resolve` 中，可以看到当前 Rspack 项目中的所有源文件，通过**点击某个文件**可以查看该文件中引入的**模块路径**、**解析前后的路径对比**、**解析耗时**等信息，其内容如下图所示：

![](https://assets.rspack.rs/others/assets/rsdoctor/resolver.png)
## 名词释义

页面中数据统计表格内的字段含义如下：

| 名词                           | 描述说明                           |
| ---------------------------- | ------------------------------ |
| <b><i>Source Code</i></b>    | 代表**导入模块语句的源码**                |
| <b><i>Duration</i></b>       | 代表解析路径的**耗时**                  |
| <b><i>Resolve Result</i></b> | 代表 `Source Code` 被解析后的**最终路径** |
