Skip to content

Comments

fix: resolve 404 for virtual CSS modules during dev SSR#8351

Open
jantimon wants to merge 1 commit intoQwikDev:mainfrom
jantimon:fix/virtual-css-dev-ssr-404
Open

fix: resolve 404 for virtual CSS modules during dev SSR#8351
jantimon wants to merge 1 commit intoQwikDev:mainfrom
jantimon:fix/virtual-css-dev-ssr-404

Conversation

@jantimon
Copy link

Virtual CSS modules were rendered with their raw module ID as the href, causing 404s. They now get the /@id/ prefix that Vite's dev server expects.

What is it?

Description

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I made corresponding changes to the Qwik docs
  • I added new tests to cover the fix / functionality

Virtual CSS modules were rendered with their raw module ID as the
<link> href, causing 404s. They now get the /@id/ prefix that Vite's
dev server expects.
@jantimon jantimon requested a review from a team as a code owner February 13, 2026 08:19
@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2026

🦋 Changeset detected

Latest commit: 63e6f55

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@builder.io/qwik Patch
eslint-plugin-qwik Patch
@builder.io/qwik-city Patch
@builder.io/qwik-react Patch
create-qwik Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmertens wmertens enabled auto-merge February 15, 2026 17:35
@github-actions
Copy link
Contributor

github-actions bot commented Feb 15, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 63e6f55

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐞] Dev SSR renders broken <link> href for virtual CSS modules (missing /@id/ prefix)

2 participants