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

fix(vite): use single regex to reduce risk of collisions#4442

Merged
pi0 merged 1 commit intomainfrom
fix/base-conflicts
Apr 22, 2022
Merged

fix(vite): use single regex to reduce risk of collisions#4442
pi0 merged 1 commit intomainfrom
fix/base-conflicts

Conversation

@danielroe
Copy link
Member

🔗 Linked issue

resolves nuxt/nuxt#13589

❓ 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

By including this in a single replace call, we should somewhat improve the stability of this replacement and remove the risk of replacing overlapping pieces of text. I'm still not fully happy with this as I don't have a reproduction of the original issue.

📝 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 Apr 19, 2022
@danielroe danielroe requested a review from pi0 April 19, 2022 22:20
@danielroe danielroe self-assigned this Apr 19, 2022
@netlify
Copy link

netlify bot commented Apr 19, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit ba79d6e
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/625f35a8f2459800088b08c4
😎 Deploy Preview https://deploy-preview-4442--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0 pi0 merged commit 4c6c027 into main Apr 22, 2022
@pi0 pi0 deleted the fix/base-conflicts branch April 22, 2022 15:22
@pi0 pi0 mentioned this pull request May 2, 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.

Cannot split a chunk that has already been edited

2 participants