Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(vite): ignore baseurl when pruning manifest #6063

Merged
merged 5 commits into from
Jul 25, 2022
Merged

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#14377

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We shouldn't prefix RE with baseURL - only the buildAssetsDir should be removed from these filenames.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working vite πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Jul 22, 2022
@danielroe danielroe requested a review from pi0 July 22, 2022 11:11
@danielroe danielroe self-assigned this Jul 22, 2022
@netlify
Copy link

netlify bot commented Jul 22, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 64e01a9
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62dadf5e2f9ee40008188c32

@atinux
Copy link
Member

atinux commented Jul 22, 2022

Cannot we add a test case for the fix issue to avoid any future regression?

packages/vite/src/server.ts Outdated Show resolved Hide resolved
@pi0 pi0 merged commit c7d072c into main Jul 25, 2022
@pi0 pi0 deleted the fix/manifest-base-url branch July 25, 2022 09:52
@pi0 pi0 mentioned this pull request Aug 5, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage vite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated path prefix with static rendering and RC6
3 participants