vite-plugin-resource-waste 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -46,7 +46,7 @@
46
46
  | 类别 | 检测内容 | 典型场景 |
47
47
  |---|---|---|
48
48
  | **import-pattern** | lodash/moment/antd 全量导入、barrel 文件 | tree-shake 失效,体积虚高 |
49
- | **dead-import** | 已 import 但未使用的本地模块(含 .vue 页面/组件) | 路由注释了但 import 未删、组件引入未使用 |
49
+ | **dead-import** | 已 import 但未使用的本地模块(含页面/组件) | 路由注释了但 import 未删、组件引入未使用 |
50
50
  | **unreachable-component** | 不在 module graph 中的页面/组件 | 遗留代码、已下线活动页 |
51
51
  | **static-unused-js** | 过多 export、独立 async chunk 风险 | 工具库 export 膨胀、误 prefetch |
52
52
  | **cache-miss** | 产物文件名缺少 content hash | 字体/图片回访重复下载 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-resource-waste",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "基于 Vite 的前端构建资源浪费分析插件,利用 Module Graph 检测未使用 JS、不可达组件、缓存失效与重复依赖,量化传输/解析开销并输出可执行优化报告,支持 CI 构建阈值拦截",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",