Closed PeachScript closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b13bc23
) 94.42% compared to head (bce9518
) 94.43%. Report is 3 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
修复 bundless 的持久缓存可能损坏导致下一次构建直接报错的问题
原因是写缓存的操作是异步进行的,会出现在内容还未完全写入文件系统的时候就遇到 dts error 进程退出,导致缓存内容不可用;解决方案是 bundless loader 处理文件时,等缓存完全写入后再 resolve,这样 dts 始终作为 loader 的后置逻辑执行,即便异常终止也不会影响 loader 缓存的有效性
cc @hualigushi