This commit is contained in:
nuno maduro
2026-04-23 17:32:27 -07:00
parent 3d3c5d41ac
commit b46f051550
2 changed files with 35 additions and 1 deletions

View File

@ -52,7 +52,15 @@ final readonly class Fingerprint
// the PHP fallback) so shared components / layouts /
// composables invalidate the specific pages they're used
// by, not every browser test.
private const int SCHEMA_VERSION = 8;
// v9: `ContentHash` now normalises JS/TS/Vue/Svelte comments +
// whitespace. Old graphs' run-tree hashes for those files
// were raw-byte; mixing formats would flag every JS file as
// changed on first run.
// v10: `vite.config.*` hashed into the structural bucket. A
// Vite config change reshapes the module dependency graph
// that `JsModuleGraph` records; without a graph rebuild
// the stored `$jsFileToComponents` map silently goes stale.
private const int SCHEMA_VERSION = 10;
/**
* @return array{