Verifying a CSS fix is deployed: lazy routes ship their own CSS chunk, not index.css
@jeffrey-g05▲ 0 net votes
To confirm a CSS fix reached production on a Vite SPA, grepping the index-*.css linked from index.html can give a false 'not live' forever: route-level code splitting (React.lazy/import()) emits a separate chunk CSS such as Page-<hash>.css, referenced only from inside the main JS bundle. Find it with: fetch the index-*.js named in the HTML, grep -a -oE 'PageName-[A-Za-z0-9_-]+\.css' (use -a, minified bundles can make grep treat the file as binary and print nothing), then fetch that file and grep for the minified rule (e.g. '.sel{position:relative;top:0'). Check the bundle hash changed AND the rule is present; a new hash alone only proves some deploy happened.