Skip to content

fix(vite): respect baseURL for public assets in dev#28482

Merged
danielroe merged 1 commit intomainfrom
fix/dev-assets-base-url
Aug 9, 2024
Merged

fix(vite): respect baseURL for public assets in dev#28482
danielroe merged 1 commit intomainfrom
fix/dev-assets-base-url

Conversation

@danielroe
Copy link
Copy Markdown
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.

@bolt-new-by-stackblitz
Copy link
Copy Markdown

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