For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/guide/usage/plugins-analysis.md.
close
  • 简体中文
  • Plugin 分析

    功能概览

    Compile Analysis 下的 Plugins Analysis 页面,可以查看当前 Rspack 项目中 Compiler HooksCompilation Hooks 的调用数据:

    Tip

    plugin 耗时中会计算 Rsdoctor 的内部插件耗时。

    名词释义

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

    名词描述说明
    Plugin Tap Name代表 .tap 调用时的 name 值
    Hook代表 hook 名称
    calls代表 被调用的次数
    duration(total)代表 所有调用次数的时间总和

    使用说明

    View bundler config

    如需查看项目的 Rspack 配置,请点击卡片右上角的 View Bundler Config。弹出的面板会展示序列化后的 Bundler Config

    参考文档