fix(vite): handle emitted assets with relative urls and dynamic base#2851
fix(vite): handle emitted assets with relative urls and dynamic base#2851
Conversation
|
✔️ Deploy Preview for nuxt3-docs canceled. 🔨 Explore the source changes: f5131b6 🔍 Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/61ea9aaacb6e480008c7ed54 |
|
This also implements this suggestion: #2655 (comment) 😁 |
|
It didn't fixed the problem for me. In production I now have |
|
@eMeRiKa13 Would you raise a new issue with a reproduction please? |
|
@danielroe I tried to use the code sandbox template but I'm too beginner for that... and can't make it work. |
|
@eMeRiKa13 If you can recreate it locally with a new nuxt project, and push that to GitHub, that would be just as good 👍 |
|
@danielroe locally it works, I have |
|
@eMeRiKa13 If you raise an issue with code I can look into it. |
🔗 Linked issue
resolves nuxt/nuxt#13250
❓ Type of change
📚 Description
This PR handles two issues with the recently merged support for dynamic base URLs in Vite.
__VITE_ASSETmap that is used by vite asset plugin).📝 Checklist