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 for optimized deps chunks, fix #7323 #7349

Closed
wants to merge 1 commit into from

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

@patak-dev patak-dev marked this pull request as draft March 16, 2022 16:14
@patak-dev patak-dev marked this pull request as ready for review March 16, 2022 16:14
@patak-dev patak-dev changed the title fix: include version for optimized deps chunks, fix #7323 fix: add version for optimized deps chunks, fix #7323 Mar 16, 2022
@patak-dev patak-dev force-pushed the fix/optimized-deps-chunks-version branch from 4c0f908 to bbcf920 Compare March 16, 2022 16:17
@patak-dev patak-dev closed this Mar 16, 2022
@patak-dev patak-dev deleted the fix/optimized-deps-chunks-version branch March 16, 2022 16:20
@patak-dev
Copy link
Member Author

Re-sending, something is wrong with CI and it doesn't kick in.

@patak-dev
Copy link
Member Author

New PR here #7350, same issue, looks like GitHub is having a bad day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
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+
1 participant