Open germain-gg opened 1 year ago
This is actually the intended behaviour of CSS modules. Changes to the inner of the CSS will generate a new hash. We might want to change how to remove that from snapshots in the future
Updated issue to match your findings @germain-gg - also worth noting that Compound itself does this via vitest stubbing out CSS modules classname generation
The CSS module hash should be linked to the file name and not tied to the content of the file.
Investigate why https://github.com/matrix-org/matrix-react-sdk/pull/11634 spams the snapshots...