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(vite): respect baseURL for public assets in dev #28482

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

resolves #27818

📚 Description

We were correctly respecting app.baseURL in built assets, but unfortunately this was not true at dev-time as we applied logic when rendering chunks.

This PR adds an additional dev-time plugin that applies at dev-time only when there's a custom app.baseURL.

Copy link

stackblitz bot commented Aug 9, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

app.baseURL is no longer applied to url(...) in <style> since v3.11.0
1 participant