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): omit css ?raw from head when in dev mode #27940

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

resolves #27753

📚 Description

We use a vite-node hook to generate a CSS manifest on demand in dev mode - to reduce flickering.

This is a quick fix to ensure we aren't rendering links to ?raw css files in the head, as vite won't be able to parse them when fetching from the client.

Copy link

stackblitz bot commented Jul 1, 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.

Imported css file with ?raw should not be resolved
1 participant