When does Jest's transform cache serve stale output from a custom transformer that reads external files?
I'm designing a custom Jest transformer (Jest 29) that inlines values from a shared config file at transform time. My understanding is that Jest's on-disk transform cache keys entries by the source file's content hash, the transformer's own code, the Jest version, and parts of the config — but not by arbitrary files the transformer happens to read. That sugg