You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chunk hash did not change when I only update experimental.renderBuiltUrl function. #13996
When I only update renderBuiltUrl function in vite.config
The chunk hash will not change, but chunk code is diffrent than before.
I believe it's not expected.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
I've raised a draft PR (#21433) to try to get the ball rolling on a fix here- please let me know if there are any immediate concerns with the solution. If the approach seems sensible, I'll work on getting the PR formalized, tests added, etc.
Activity
bolt-new-by-stackblitz commentedon Jul 31, 2023
hartz89 commentedon Jan 16, 2026
I've raised a draft PR (#21433) to try to get the ball rolling on a fix here- please let me know if there are any immediate concerns with the solution. If the approach seems sensible, I'll work on getting the PR formalized, tests added, etc.
hartz89 commentedon Mar 19, 2026
I've finalized my PR for this fix (#21433), please have a look!
fix: invalidate JS hashes on renderBuiltUrl change (fix vitejs#13996)
fix: invalidate CSS hashes on renderBuiltUrl change (fix vitejs#13996)
fix: invalidate JS hashes on renderBuiltUrl change (fix vitejs#13996)
fix: invalidate CSS hashes on renderBuiltUrl change (fix vitejs#13996)
fix: invalidate chunk hashes on renderBuiltUrl change (fix vitejs#13996)
fix: invalidate chunk hashes on renderBuiltUrl change (fix vitejs#13996)