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.
- package/README.md +1 -1
- 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
|
|
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