Commit 1ceee28
authored
fix: unexpected cache hit when modifiedFiles size 0 (#47)
Fix unexpected cache hit in CI when modifiedFiles size 0 (matched pre
test case cache).
BTW, I'm curious why `postcssProcessorCache` is set as a static method.
`postcssProcessorCache` uses `entryName` as the cache key, which makes
the cache not strict when running rspack multiple times & there is an
import cache.
<img width="1152" alt="image"
src="https://github.com/user-attachments/assets/693f9f46-58af-435a-bffc-2b2afc33c57b"
/>

https://github.com/rspack-contrib/rsbuild-ecosystem-ci/actions/runs/14164766016/job/396759487511 parent 446af93 commit 1ceee28
3 files changed
+93
-114
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments