Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Mar 16, 2022

Conversation

patak-dev
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-dev patak-dev merged commit 1be1db6 into main Mar 16, 2022
@patak-dev patak-dev 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