-
-
Notifications
You must be signed in to change notification settings - Fork 781
Labels
bugSomething isn't workingSomething isn't working
Description
System Info
macos,linux也是如此
Details
使用缓存构建
tools: {
rspack: {
cache: true,
experiments: {
cache: { type: 'persistent' },
},
},
}
把node_modules下的.cache/rspack压缩一遍,把原文件夹删掉,再解压获得一个文件夹,会导致缓存验证失败,理论上缓存没有变化。
⚠ validate scope occasion_make_dependencies failed due to some packs are modified。
是否是因为timestamp变化导致缓存验证失败,如何解决?
Reproduce link
No response
Reproduce Steps
- 使用缓存构建
- 把缓存文件压缩一遍,删掉原缓存文件
- 解压还原缓存文件
- 缓存验证失败
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working