Skip to content

fix: add version to optimized chunks, fix #7323#7350

Merged
patak-cat merged 1 commit intomainfrom
fix/add-version-to-optimized-chunks
Mar 16, 2022
Merged

fix: add version to optimized chunks, fix #7323#7350
patak-cat merged 1 commit intomainfrom
fix/add-version-to-optimized-chunks

Conversation

@patak-cat
Copy link
Member

Description

Fix #7323

Revert an attempt to make an optimization made by #6758: Chunks already have a hash in the file name chunk-{hash}.js, so the idea was that adding the ?v={browserHash} wasn’t needed.

It was a wrong assumption, after a deps pre-bundling rerun some of the chunks could remain unchanged so the extra ?v= hash is required.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@bluwy bluwy added the p3-minor-bug An edge case that only affects very specific usage (priority) label Mar 16, 2022
@patak-cat patak-cat merged commit 1be1db6 into main Mar 16, 2022
@patak-cat patak-cat deleted the fix/add-version-to-optimized-chunks branch March 16, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p3-minor-bug An edge case that only affects very specific usage (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate loading of the same resource on startup with Vite 2.9 beta1+

2 participants